I have this dialog box with 2 radio/option buttons. I register a common listener for them. I use itemStateChanged to process the select event. But then i don't see a callback for the (automatically) deselected option button when its counterpart is selected. I would like a callback even for the deselected radio button. Is there a way to do this?
I also have some check boxes that i process within the dialog. So, alternatively, could I process all the dialog components when the OK button is clicked, by checking the return value of the execute() method? Is this possible? Any reason to pick one or the other?