Title: The variable panel references a JPanel object. The variable bGroup references a ButtonGroup object, ... Post by: Oughto on Dec 16, 2016 The variable panel references a JPanel object. The variable bGroup references a ButtonGroup object, which contains several button components. If you want to add the buttons to the panel
A) use the statement, panel.add(bGroup); B) use the statement, Panel panel = new Panel(bGroup); C) use the statement, bGroup.add(panel); D) add each button to panel one at a time, e.g. panel.add(button1); Title: Re: The variable panel references a JPanel object. The variable bGroup references a ButtonGroup ... Post by: blithering on Dec 18, 2016 Content hidden
Title: Re: The variable panel references a JPanel object. The variable bGroup references a ButtonGroup object, ... Post by: Oughto on Jan 31, 2017 I mentioned in my previous post that I chose this as an elective, thanks for helping me understand
|