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

Emit a warning on macOS if AWT has set the NSAppearance

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: