public static void setImplicitExit (boolean implicitExit)

Sets the implicitExit attribute to the specified value. If this attribute is true, the JavaFX runtime will implicitly shutdown when the last window is closed; the JavaFX launcher will call the Application.stop method and terminate the JavaFX application thread. If this attribute is false, the application will continue to run normally even after the last window is closed, until the application calls exit. The default value is true.

This method may be called from any thread.

Parameters:
implicitExit    a flag indicating whether or not to implicitly exit when the last window is closed.

Since:  JavaFX 2.2