Initially, all buttons in the group are unselected. Once any button in the group is selected, one button is always selected in the group.
Note that the ButtonGroup is a logical grouping, not a physical grouping. To create a button panel, you should still create a JPanel and add the JRadioButtons to it.
|
|
|
|