Getting the selected JRadioButton in a ButtonGroup!!
807591Aug 15 2001 — edited Mar 13 2008This should be easy, it was pre-Swing ...
I want to get the text associated with the selected JRadioButton in a ButtonGroup. I would have thought it would be something like this:
String myText = myButtonGroup.getSelected().getText();
but it seems much less simple than this and I can't work it out.
HELP!!