
Constructors
JRadioButton( String buttonLabel )
constructs a radio button labeled buttonLabel.By default,the
radio button is initially deselected.
JRadioButton( String buttonLabel, boolean selected )
constructs a radio button labeled buttonLabel.If selected is true,
the button is initially selected;if selected is false,the button is
deselected.
Useful Methods of the JRadioButton Class
Return value Method name and argument list
void addItemListener( ItemListener handler )
registers an event handler for ItemEvents for this radio button.This
method is inherited from the AbstractButton class.
boolean isSelected( )
returns true if the radio button is selected; ...