wood burning stoves
The moose likes Swing / AWT / SWT and the fly likes Problem with a swing application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Problem with a swing application" Watch "Problem with a swing application" New topic

Problem with a swing application

Hemanth Kumar Simhadri
Ranch Hand

Joined: Apr 22, 2010
Posts: 34
Hello guyz, I have a problem with a jawa swing application.

from my web application when I click on a link, it downloads a jar file and executes that jar file on the client side by passing the necessary parameters.

The title of that Swing application window is "Optical Metro System Manager".

When I click on the same link multiple times, it is launching this swing application multiple times.

My requirement is to check if this swing window already opened each time before launching a new window.

I dont have the source code of this swing window as it will be launched from the jar and this jar will be downloaded from server side.

Is it possible to find the window id or window name or window title of a opened swing window with java swing classes

My idea is to find the window which has the title "Optical Metro System Manager" as mentioned above and if it is available, i have to bring that window to front

Your help is very much appreciated.
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46337
It's not "guyz", please. And please be specific with your thread titles.
I agree. Here's the link: http://aspose.com/file-tools
subject: Problem with a swing application
It's not a secret anymore!