I have six switches on the panel, and I would like to listen to the mouse click on the panel, then determine which radio button is selected and perform the corresponding action.
But when I fixed this situation and tried it, with a breakpoint in the action listener, the code does not seem to call the action listener at all. Any explanation of why this is, or an alternative way to avoid writing action listeners for each button, would be greatly appreciated.
Thanks in advance for any advice.
John doner
source share