-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
17
-
Windows 11
-
x86_64
-
windows
ADDITIONAL SYSTEM INFORMATION :
Windows 11. Monitor 140dpi with 175% scaling.
Smooth appearance with Java 8 202
Pixellated appearance with Java 11.0.10 and Java 17.0.2
A DESCRIPTION OF THE PROBLEM :
An image on a monitor with Windows scaling is more pixellated when using Java 11 or Java 17 than with Java 8. This is visible in the Swing icon demo, but more obvious in other applications.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Compile and run the swing icon demo (https://docs.oracle.com/javase/tutorial/uiswing/components/icon.html and https://docs.oracle.com/javase/tutorial/uiswing/examples/zipfiles/components-CustomIconDemoProject.zip ).
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Image rendering should be smooth, at least as good as with Java 8.
ACTUAL -
Images are pixellated. Clearly visible if you choose the "Sun Auditorium"
---------- BEGIN SOURCE ----------
See https://docs.oracle.com/javase/tutorial/uiswing/examples/zipfiles/components-CustomIconDemoProject.zip
---------- END SOURCE ----------
FREQUENCY : always
Windows 11. Monitor 140dpi with 175% scaling.
Smooth appearance with Java 8 202
Pixellated appearance with Java 11.0.10 and Java 17.0.2
A DESCRIPTION OF THE PROBLEM :
An image on a monitor with Windows scaling is more pixellated when using Java 11 or Java 17 than with Java 8. This is visible in the Swing icon demo, but more obvious in other applications.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Compile and run the swing icon demo (https://docs.oracle.com/javase/tutorial/uiswing/components/icon.html and https://docs.oracle.com/javase/tutorial/uiswing/examples/zipfiles/components-CustomIconDemoProject.zip ).
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Image rendering should be smooth, at least as good as with Java 8.
ACTUAL -
Images are pixellated. Clearly visible if you choose the "Sun Auditorium"
---------- BEGIN SOURCE ----------
See https://docs.oracle.com/javase/tutorial/uiswing/examples/zipfiles/components-CustomIconDemoProject.zip
---------- END SOURCE ----------
FREQUENCY : always