Relates :
|
|
Relates :
|
|
Relates :
|
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 ----------
|