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

[macos] Support dark title bars on macOS

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8u192, 9, 10, 11, 12
    • client-libs
    • macOS

    • os_x

      Under Java for macOS there is currently no standard way to change the title bar mode from regular to dark or transparent. Both are modes supported by the underlying Cocoa framework (NSAppearance). This is desirable to make sure that Java applications can look just as good under macOS as native applications. NetBeans and its Darcula LAF will also benefit from this.

      For further details please see JDK-8181910.

      Please pay special attention to Alan Snyder's comments and the fact that it is possible to a) define your own NSString to use as constant when the constants are not available in the API version you are using and b) that you can check the API version you are using.

      Thanks.

            Unassigned Unassigned
            hschreiber Hendrik Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: