Hi I need some help preventing window close, on system chrome close button click.
Basically, what I would like to do, is check for a condition when the user clicks the system chrome close btn. It the condition states its ok, I'd like to call app.exit(), and if not, perform other actions. Any help will be appreciated.