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

Print this page

        

@@ -61,11 +61,12 @@
 
         public static native void setFrame(long window, int x, int y, int w, int h, boolean display);
 
         public static native void setAlphaValue(long window, float alpha);
         public static native void setOpaque(long window, boolean opaque);
-        public static native void setBackgroundColor(long window, long color);
+        public static native void setBackgroundColor(long window, float red, float green,
+                                                     float blue, float alpha);
 
         public static native void miniaturize(long window);
         public static native void deminiaturize(long window);
         public static native void zoom(long window);
 

@@ -93,10 +94,6 @@
     public static final class NSScreen {
         public static native Rectangle2D frame(long screen);
         public static native Rectangle2D visibleFrame(long screen);
         public static native long screenByDisplayId(int displayID);
     }
-
-    public static final class NSColor {
-        public static native long clearColor();
-    }
 }