APIdia Launch Partner
Top Description Methods
java.awt.desktop

public Interface QuitResponse


Used to respond to a request to quit the application.
Since
9
See Also
java.awt.Desktop#setQuitHandler(QuitHandler), QuitHandler, java.awt.Desktop#setQuitStrategy(QuitStrategy)

Method Summary

Modifier and TypeMethod and Description
public void
cancelQuit()

Notifies the external quit requester that the user has explicitly canceled the pending quit, and leaves the application running.

public void
performQuit()

Notifies the external quit requester that the quit will proceed, and performs the default QuitStrategy.

Method Detail

cancelQuitback to summary
public void cancelQuit()

Notifies the external quit requester that the user has explicitly canceled the pending quit, and leaves the application running.

Note

this will cancel a pending log-out, restart, or shutdown.

performQuitback to summary
public void performQuit()

Notifies the external quit requester that the quit will proceed, and performs the default QuitStrategy.