-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.1.4
-
x86
-
windows_nt
Name: diC59631 Date: 11/25/97
the systemcolors getRGB() value always returns a value which bits 24..32 set to 0. this may lead to display errors, because if this RGB value is used to draw in memory-held images, the resulting image will contain transparent points, where these syscolors RGB-Values are used.
The Color.xxx constants always have the bits 24-32 set to 1.
System.out.println(
Integer.toHexString(
SystemColor.control.getRGB()
)
);
System.out.println(
Integer.toHexString(
Color.blue.getRGB()
)
);
(Review ID: 20799)
======================================================================
- duplicates
-
JDK-4233123 SystemColor static variables incorrectly initialized under win32 (1.1.x ONLY)
- Closed