-
Bug
-
Resolution: Fixed
-
P4
-
1.0, 1.2.0
-
beta
-
x86, sparc
-
solaris_2.6, windows_nt
-
Verified
win95 8 bit dithering looks awful in the Java2D demo. Gray looks pink-gray and almost looks BYTE_INDEXEDish. winNT 8 bit dithering looks okay. SwingSet and the 1.1.x applets look okay.
/usr/local/java/jdk1.2/win32/demo/jfc/Java2D
Off a fresh reboot launch the Java2D demo in win95 8 bit.
If you run an applet or SwingSet before running the Java2D demo then the Java2D demo will look okay.
robert.h.kim@Eng 1998-10-13
Validating the above description. This dithering of the default Windows' grey only happens once. All the sucessive launches of SwingSet/Java2Demo ok. Only the first time after a reboot can you see the dithering.
The problem seems to be isolated to Windows 95 GDI only. 95 with DirectDraw does not exhibit this problem. Furthermore, NT in GDI doesn't exhibit this problem either. Only 95 GDI it seems.
==================================================
I've seen similar problems with SwingSet and SwingMark running in 8-Bit Color on my PC with NT, so the problem isn't totally limited to NT. Also, when this dithering occurs it causes a major hit in performance (as measured by SwingMark).
I talked to Jim Graham about a similar problem some time ago and he said it had something to do with palettes being installed late.
steve.wilson@eng 1998-12-01
I found this hard to reproduce: it's not as simple as just running Java2Demo
in 8-bit more on win95. The only way I could consistently reproduce it was
to do the following:
- Make sure display adaptor is set to non-8-bit mod
- reboot win95
- Set display adaptor to 8-bit mode
- run Java2Demo before starting any other apps that use color tables
These steps seem to consistently reproduce the problem. You can see the
problem in the progress bar dialog; the background color should be gray
but it is a very dithered pink instead (not even a close approximation to gray).
chet.haase@Eng 2000-12-19
/usr/local/java/jdk1.2/win32/demo/jfc/Java2D
Off a fresh reboot launch the Java2D demo in win95 8 bit.
If you run an applet or SwingSet before running the Java2D demo then the Java2D demo will look okay.
robert.h.kim@Eng 1998-10-13
Validating the above description. This dithering of the default Windows' grey only happens once. All the sucessive launches of SwingSet/Java2Demo ok. Only the first time after a reboot can you see the dithering.
The problem seems to be isolated to Windows 95 GDI only. 95 with DirectDraw does not exhibit this problem. Furthermore, NT in GDI doesn't exhibit this problem either. Only 95 GDI it seems.
==================================================
I've seen similar problems with SwingSet and SwingMark running in 8-Bit Color on my PC with NT, so the problem isn't totally limited to NT. Also, when this dithering occurs it causes a major hit in performance (as measured by SwingMark).
I talked to Jim Graham about a similar problem some time ago and he said it had something to do with palettes being installed late.
steve.wilson@eng 1998-12-01
I found this hard to reproduce: it's not as simple as just running Java2Demo
in 8-bit more on win95. The only way I could consistently reproduce it was
to do the following:
- Make sure display adaptor is set to non-8-bit mod
- reboot win95
- Set display adaptor to 8-bit mode
- run Java2Demo before starting any other apps that use color tables
These steps seem to consistently reproduce the problem. You can see the
problem in the progress bar dialog; the background color should be gray
but it is a very dithered pink instead (not even a close approximation to gray).
chet.haase@Eng 2000-12-19
- duplicates
-
JDK-4209256 Java2Demo not asserting palette under 8bits
-
- Closed
-