< prev index next >

src/java.desktop/macosx/native/libawt_lwawt/awt/AWTWindow.m

Print this page

        

*** 262,271 **** --- 262,276 ---- } else { [self.nsWindow setCollectionBehavior:NSWindowCollectionBehaviorDefault]; } } + if (IS(self.styleBits, DARK_TITLE_BAR)) { + [self.nsWindow setAppearance:[NSAppearance appearanceNamed:NSAppearanceNameVibrantDark]]; + } else { + [self.nsWindow setAppearance:[NSAppearance appearanceNamed:NSAppearanceNameVibrantLight]]; + } } - (id) initWithPlatformWindow:(JNFWeakJObjectWrapper *)platformWindow ownerWindow:owner styleBits:(jint)bits
< prev index next >