How do you detect when an App is open or closed?
- User clicks on link/button.
- Web Browser launches Java desktop app via Java Web Start.
At this point how do you have the browser detect if the App is able to launch or unable to launch, if the app has launched and closed by the user?
Do you registered the class containing
windowClosing()method viaaddWindowListener()?Java explicitly allows you to close process, please check below code: