I'm using NSIS to create an update installer for a Swing based Java application. I need to know whether the application is already running and abort the installation if so. I asked this here, but it essentially boils down to identifying the application by its window title.
NSIS has a FindWindow function that takes the window handle as a compulsory parameter. Now for my question: How do you find out the window handle of a Swing app, given that you don't have Spy++ or WinSpy++, and are blocked by wonderful corporate IT from downloading additional tools? Do Java applications have a standard window handle name?