Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Detecting existence of window?

Status
Not open for further replies.

brownie124

Programmer
Sep 19, 2002
61
US
Hi,

I am trying to prevent users from having multiple versions of the Java app up at once. Is there a way to detect if the app is already up? Is there a way to detect the existence of other application windows?

Thanks,
- Brownie
 
For java applications to start only once : Use the "Singleton Pattern" : Do a search on google with "java singleton" and you will get a couple of links.

For your second question you can have a look at Thread269-641542 , although it won't be of real help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top