This week's book giveaway is in the Other Open Source APIs forum. We're giving away four copies of Storm Applied and have Sean Allen, Peter Pathirana & Matthew Jankowski on-line! See this thread for details.
I have searched for an answer for the following problem and have found none.
Basically I have created a setting dialog by extending JDialog. It has some radio buttons, text fields, etc. In addition to save and cancel buttons, I also have a reset button (to display defaults).
When I open the dialog and press the defaults button, the fields are updated. I then press cancel and reopen the dialog expecting to see the original values. However, I see the default values on the GUI, but if I examine the values of the fields themselves they are correct.