Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4156041
Votes 2
Synopsis win32 color palette problem w/ 8 bit display scheme != Windows Standard
Category java:classes_2d
Reported Against 1.2beta4 , swing1.0.2
Release Fixed
State 11-Closed, duplicate of 4280257, bug
Priority: 4-Low
Related Bugs 4162598 , 4280257
Submit Date 09-JUL-1998
Description
When the windows display scheme is not equal to the Windows Standard and the bit depth is 8 bits colors with alpha values appear grayish. To reproduce :

Control Panels -> Display -> Appearance -> Scheme -> Desert
Display -> Settings -> 8 bit or 256 Colors
run Java2Demo see Mix.Balls or anything with a alpha will appear with a grayish color.

beta4-K.

Colors look okay with all other bit depths.
Work Around
It happens because of Windows shifts palette entries to change color scheme for preview. Somehow palettechange message has not been translated to awt to update palette. When user clicks OK and new color scheme 's accepted the palette returns back to previous state, colors will be really changed in windows and WM_PAINT. WM_NCPAINT messages will be propagated. All images will return back to their prevoius state.

  xxxxx@xxxxx   1998-08-25
Evaluation
It happens because of Windows shifts palette entries to change color scheme for preview. Somehow palettechange message has not been translated to awt to update palette. When user clicks OK and new color scheme 's accepted the palette returns back to previous state, colors will be really changed in windows and WM_PAINT. WM_NCPAINT messages will be propagated. All images will return back to their prevoius state.

  xxxxx@xxxxx   1998-08-25
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang