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 append method to include the JRadioButton objects
in the group.)
Note: The ButtonGroup object is a logical grouping -- not a physical grouping. Tocreate a button panel, you should still create a JPanel or similar container-object and add a Border to it to set it off from surrounding components.
new JRadioButton()public function getUIClassID():StringDescription copied from Component
Returns the UIDefaults key used to
look up the name of the org.aswing.plaf.ComponentUI
class that defines the look and feel
for this component. Most applications will never need to
call this method. Subclasses of Component that support
pluggable look and feel should override this method to
return a UIDefaults key that maps to the
ComponentUI subclass that defines their look and feel.