'X' button behaves differently in exported Windows application
in
Integration and Hardware
•
1 year ago
Hello,
I am seeing different behavior when running from the Processing IDE vs running the exported application. Specifically, for the 'X' button in the upper right corner that closes the program. I have defined the exit() method so it will only call super.exit() if certain conditions are met. It works fine in the IDE, but my exit() method does not even seem to be called when ran as the application.
I imagine it is a fundamental difference between the IDE and application environment, still looking for the truth.
A little more background. I want to write some information to a file. If nothing has changed since the last save, then simply exit. Otherwise, either refuse to quit until a save has been done or save automatically before exiting. Thought I had it done, until I exported the application... :(
Any ideas?
Regards...bbc
1