I have a Windows JavaFX application which minimizes to tray on Close Window button. There are actually two questions:
- I was trying to use
Check for running processes
withSoft Close
option (on Upgrade and Uninstall). This action sendsWINDOW_CLOSE_REQUEST
to the Application as I understood. So if the Window is showing it just minimizes. If it's minimized the i4j action just doesn't send any request (it fails immediately according to logs), cause there is no any Application window. So the question is what's the best approach to signal my running application to correctly exit? (my best idea was to open a socket in app and connect it from the i4j) - My launcher is of
Sigle Instance App
type. Are there any means to request the Application to restore from minimized state when the user executes the Application Launcher?
Thank you a lot!