Jak zdobyć treść ogtongroup w Javie

JRadioButton maleButton = new JRadioButton( "Male" );
maleButton.setActionCommand( maleButton.getText() );
Scary Swiftlet