< prev index next >

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

Print this page

        

@@ -261,16 +261,10 @@
             [self.nsWindow setCollectionBehavior:(1 << 7) /*NSWindowCollectionBehaviorFullScreenPrimary*/];
         } 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 >