Click to See Complete Forum and Search --> : quiting an app


beaglebuddy
July 30th, 1999, 04:21 PM
I need to force an application to quit. Is there any Java\Swing equivalent to the Windows PostQuitMessage() function, which simply sends the app an WM_DESTROY message.

unicman
July 31st, 1999, 07:27 AM
U can use

System.exit(0); // 0 is error code

- UnicMan
http://members.tripod.com/unicman