File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes JOptionpane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JOptionpane" Watch "JOptionpane" New topic


Bacchi Gerem
Ranch Hand

Joined: Jan 23, 2004
Posts: 120
I login in to my application and when i click on an item ,iam getting Joptionpane with yes & Cancel Buttons. When i click on Cancel button it closes that dialog box.
When i relogin secong time without exit i have to click twice on Cancel Button to close that dialog.
When i relogin third time the Cancel button needs 3 clicks to close the dialog.

I think it is a memory issue. How can i sove this problem..
Please let me know.

Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
could be you are creating additional instances of your login

> How can i sove this problem..

by posting your login code, and the code to 're-login'
I agree. Here's the link:
subject: JOptionpane
It's not a secret anymore!