jdk/src/macosx/classes/sun/lwawt/macosx/CWrapper.java
changeset 25196 48d9cfe3f138
parent 23268 2cdb715ff32d
--- a/jdk/src/macosx/classes/sun/lwawt/macosx/CWrapper.java	Thu Jun 12 00:32:33 2014 +0400
+++ b/jdk/src/macosx/classes/sun/lwawt/macosx/CWrapper.java	Thu Jun 12 00:43:14 2014 +0400
@@ -61,7 +61,14 @@
 
         static native void setAlphaValue(long window, float alpha);
         static native void setOpaque(long window, boolean opaque);
-        static native void setBackgroundColor(long window, long color);
+
+        /**
+         * Sets background color of the NSWindow.
+         *
+         * @param window the pointer of the NSWindow
+         * @param color the color in argb format
+         */
+        static native void setBackgroundColor(long window, int color);
 
         static native void miniaturize(long window);
         static native void deminiaturize(long window);
@@ -82,8 +89,4 @@
 
         static native void setToolTip(long view, String msg);
     }
-
-    static final class NSColor {
-        static native long clearColor();
-    }
 }