Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8117679

Mac: JavaFx Stage closes on pressing Command Q on Mac and there is no mechanism to avoid this Quitting

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: fx2.1
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:
    • Environment:

      Mac OS X

      Description

      JavaFx Application Quits instantly on pressing "Command Q" on Mac just like every application.

      Apple provides classes to trap this Quit event using com.apple.eawt package which can Signal the Application about the Quit event, but this seems to Work only with Swing Model.

      There should be a way so that JavaFx application can trap this Quit event and developer has a way to stop the application from exit.

        Attachments

          Activity

            People

            • Assignee:
              anthony Anthony Petrov (Inactive)
              Reporter:
              mgargjfx Mohit Garg (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: