--- old/src/java.desktop/macosx/native/libawt_lwawt/awt/AWTWindow.m 2018-03-28 14:54:28.000000000 +0530 +++ new/src/java.desktop/macosx/native/libawt_lwawt/awt/AWTWindow.m 2018-03-28 14:54:27.000000000 +0530 @@ -264,6 +264,11 @@ } } + if (IS(self.styleBits, DARK_TITLE_BAR)) { + [self.nsWindow setAppearance:[NSAppearance appearanceNamed:NSAppearanceNameVibrantDark]]; + } else { + [self.nsWindow setAppearance:[NSAppearance appearanceNamed:NSAppearanceNameVibrantLight]]; + } } - (id) initWithPlatformWindow:(JNFWeakJObjectWrapper *)platformWindow