File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Problem with a swing application

Hemanth Kumar Simhadri
Ranch Hand

Joined: Apr 22, 2010
Posts: 32
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
Sheriff

Joined: Oct 13, 2005
Posts: 40059
    
  28
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