Module java.desktop
Package java.awt.desktop

Interface QuitResponse

    • Method Summary

      All Methods
      Modifier and Type Method Description
      void cancelQuit ​()
      Notifies the external quit requester that the user has explicitly canceled the pending quit, and leaves the application running.
      void performQuit ​()
      Notifies the external quit requester that the quit will proceed, and performs the default QuitStrategy.
    • Method Detail

      • performQuit

        void performQuit​()
        Notifies the external quit requester that the quit will proceed, and performs the default QuitStrategy.
      • cancelQuit

        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.