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.
Printable View
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.
U can use
System.exit(0); // 0 is error code
- UnicMan
http://members.tripod.com/unicman