src/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java

Print this page

        

@@ -308,10 +308,14 @@
             styleBits = SET(styleBits, TEXTURED, true);
             // Popups in applets don't activate applet's process
             styleBits = SET(styleBits, NONACTIVATING, true);
         }
 
+        if (Window.Type.UTILITY.equals(target.getType())) {
+            styleBits = SET(styleBits, UTILITY, true);
+        }
+
         if (target instanceof javax.swing.RootPaneContainer) {
             javax.swing.JRootPane rootpane = ((javax.swing.RootPaneContainer)target).getRootPane();
             Object prop = null;
 
             prop = rootpane.getClientProperty(WINDOW_BRUSH_METAL_LOOK);