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

Emit a warning on macOS if AWT has set the NSAppearance

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • jfx23
    • jfx22
    • javafx
    • None
    • b12

    Description

      Platform preferences detection doesn't pick up effective macOS system preferences if AWT owns the NSApplication and has set its NSAppearance to a fixed value.

      The workaround is to set the system property "apple.awt.application.appearance=system".

      If this property is not set, a warning should be emitted if a JavaFX application uses the platform preferences API.

      Attachments

        Issue Links

          Activity

            People

              mstrauss Michael Strauß
              mstrauss Michael Strauß
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: