-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
None
-
8u20, 9
-
x86_64
-
windows_7
FULL PRODUCT VERSION :
java version "1.8.0_11"
Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
A standard Swing LineBorder of size 1 will paint the left border 2px wide. This happens since JRE 8. The exact same code on JRE 7 paints the left border 1px wide. This can be observed by running the BorderDemo sample (http://docs.oracle.com/javase/tutorial/uiswing/examples/components/BorderDemoProject/src/components/BorderDemo.java) on the Oracle web site . If you run it in JRE 7 it is fine, if you run it in JRE 8 it is not fine.
REGRESSION. Last worked in version 8u11
REPRODUCIBILITY :
This bug can be reproduced often.
---------- BEGIN SOURCE ----------
http://docs.oracle.com/javase/tutorial/uiswing/examples/components/BorderDemoProject/src/components/BorderDemo.java
---------- END SOURCE ----------
java version "1.8.0_11"
Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
A standard Swing LineBorder of size 1 will paint the left border 2px wide. This happens since JRE 8. The exact same code on JRE 7 paints the left border 1px wide. This can be observed by running the BorderDemo sample (http://docs.oracle.com/javase/tutorial/uiswing/examples/components/BorderDemoProject/src/components/BorderDemo.java) on the Oracle web site . If you run it in JRE 7 it is fine, if you run it in JRE 8 it is not fine.
REGRESSION. Last worked in version 8u11
REPRODUCIBILITY :
This bug can be reproduced often.
---------- BEGIN SOURCE ----------
http://docs.oracle.com/javase/tutorial/uiswing/examples/components/BorderDemoProject/src/components/BorderDemo.java
---------- END SOURCE ----------
- relates to
-
JDK-8041917 unexcepted behavior of LineBorder while using Boolean variable true
-
- Resolved
-
-
JDK-8279614 The left line of the TitledBorder is not painted on 150 scale factor
-
- Resolved
-
-
JDK-8282958 Rendering Issues with Borders on Windows High-DPI systems
-
- Resolved
-