Microsoft SDK for Java

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

© 1999 Microsoft Corporation. All rights reserved. Terms of use.