class org.aswing.JRadioButton extends JToggleButton
An implementation of a radio button -- an item that can be selected or
deselected, and which displays its state to the user.
Used with a ButtonGroup
object to create a group of buttons
in which only one button at a time can be selected. (Create a ButtonGroup
object and use its Component.append
method to include the JRadioButton objects
in the group.)
Note: The ButtonGroup object is a logical grouping -- not a physical grouping. To create a button panel, you should still create a@author palingJPanel
or similar container-object and add aorg.aswing.border.Border
to it to set it off from surrounding components.