Or more exact:
I need to know on a window close event, if any other window is still visible.
If not, System.exit(0) would be called.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Thanks to everyone for answers. With this help I managed to get a working solution:
Strange, it doesn’t works with
windowClosed. Only works withwindowClosing.Code