• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Problem with a swing application

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Marshal
Posts: 80960
525
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's not "guyz", please. And please be specific with your thread titles.
 
It would give a normal human mental abilities to rival mine. To think it is just a tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic