|
-
Dec 22nd, 2009, 06:21 PM
#1
Thread Starter
Hyperactive Member
prevent duplicate Jframes
I have a couple of classes, one is my mainGUI which has a JMenu in it, if a certain JMenuItem is select it will create a new GUI (this other GUI is another window thats totally different). The new GUI opens up as i want but i can continue to create a new instances of this GUI.
So the basic question is... How do i ensure my program only allows one instance of this GUI?
If a post has been usefull then Rate it! 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|