Hi Sean,

Sean Keogh wrote:
> Here's the deal ... I have this applet with a JButton
> that does some validation on clicking. If some errors
> are found a JDialog (with a JOptionPane inside)
> displays a message. I click "OK" and the window
> closes, as expected.

The JOptionPane has a "value" property. You have to set this property
to "null" after the dialog was closed (with the "setValue()"-method).
Then the dialog will behave every time as expected.

bye

Mathias
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to