The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
July 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

A query

Posted by poonam on January 07, 2001 at 3:50 AM

Hi,
I have query ...if u know the solution then do write back asap..
I am using a JMenuBar and opening a screen by clicking on one of the menu options...If i click on the same menu option again it opens another instance of the same screen...How can i avoid this..I can probably use a boolean variable --- but do you have a better solution..as i hv 20 screens and i do not want to set too many variables.....





Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us