Application.exitThread

Overview | Methods | This Package | All Packages

Application.exitThread

Quits the message loop on the current thread and closes all windows on the thread.

Syntax

public static void exitThread()

Remarks

The exitThread method allows you to terminate a specified thread's message loop and any windows that are open in the thread. If you want to quit the application and all threads that are currently open for the thread, call the exit method.

See Also   exit, run