Hello! Is there a way to disable the red x button which closes the standalone applet window? I need something like DO_NOTHING_ON_CLOSE How can I access the main frame's code so I can do this? Do I have to create the jar file and then open it with a txt reader in order to change this parameter?I want the user to close the frame by clicking a Exit button in the simulation. Will System.exit() work for this?
Also, would you consider adding this feature at frame's properties when we double click on it?