src/solaris/classes/sun/java2d/xr/XRColor.java

Print this page

        

@@ -52,10 +52,11 @@
         this.green = green;
         this.blue = blue;
     }
 
     public XRColor(Color color) {
+        setColorValues(color);
     }
 
     public void setColorValues(Color color) {
         alpha = byteToXRColorValue(color.getAlpha());