How to close applet from code
I have used System.exit(0) but it only throws bunch of exceptions and it did not closes it.
I understand that it is responsibility of the user to close applet , but still is there any way?
How to close applet from code I have used System.exit(0) but it only throws
Share
Don’t call
System.exit(0)in an applet. This can cause the browser to be closed.A better approach would be to run application in a
JFrameand use Java Web Start to launch the application.