posted 21 years ago
Hi all,
I have 4 radio buttons grouped into 2 button groups. All the buttons in a group are placed in the seperate panel. (thus I have 2 panels each containing 2 radio buttons of the same group). Finally I also have a panel on which I have placed the above formed two panels.
Diagramatically like the following, with 2 buttons inside each of the inner boxes.
--------------------
| |-----| |-----| |
| | | | | |
| |-----| |-----| |
----------------------
Am using the itenlistener interface to find which button was clicked. Object source = ae.getItemSelectable(); I print out source and saw the text of the radio button selected. For the first group(new,old)bts, the text 'new' and 'old' appear correctly when the appropriate button is pressed.
However in the second group (open,secure), when I select 'open' & 'secure' the source displayed shows the text as 'secure'. Am pretty sure that I have not made any funny mistake like wrong labelling.
Could someone give me an idea why this is happeneing ?
Frustrated,
Aravind.