• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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: 79701
381
  • 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.
 
This. Exactly this. This is what my therapist has been talking about. And now with a tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic