-
Bug
-
Resolution: Fixed
-
P3
-
6u10, 7
-
b10
-
b13
-
generic, x86
-
generic, windows, windows_xp
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2164353 | 7 | Peter Zhelezniakov | P3 | Closed | Fixed | b55 |
FULL PRODUCT VERSION :
java version "1.6.0_10-ea"
Java(TM) SE Runtime Environment (build 1.6.0_10-ea-b10)
Java HotSpot(TM) Client VM (build 11.0-b09, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
customer Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
With other JRE releases, the default look and feel (LAF) is set to "CrossPlatformLookAndFeel". See http://java.sun.com/docs/books/tutorial/uiswing/lookandfeel/plaf.html#available
I can confirm that the correct behaviour is to default to CrossPlatformLookAndFeel, as per JRE 1.7 (and earlier versions of JRE 1.6).
So, just confirming, defaulting to CrossPlatformLookAndFeel is the _correct_ behaviour. This is done by JRE 1.7 but JRE 1.6.0_10-ea-b10 defaults to SystemLookAndFeel for some reason.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run any Java application (or applet) which doesn't specifically set its own LAF. On JRE 1.6.0_10-ea it will display using the SystemLookAndFeel. On JRE 1.7 (or any other JVM version) it will display using CrossPlatformLookAndFeel.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
It should use the CrossPlatformLookAndFeel as per http://java.sun.com/docs/books/tutorial/uiswing/lookandfeel/plaf.html#available.
ACTUAL -
It renders with SystemLookAndFeel.
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Specify platform specific LAF in swing.properties: e.g.
swing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFeel
Release Regression From : 6
The above release value was the last known release where this
bug was not reproducible. Since then there has been a regression.
Posted Date : 2008-01-23 08:53:08.0
java version "1.6.0_10-ea"
Java(TM) SE Runtime Environment (build 1.6.0_10-ea-b10)
Java HotSpot(TM) Client VM (build 11.0-b09, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
customer Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
With other JRE releases, the default look and feel (LAF) is set to "CrossPlatformLookAndFeel". See http://java.sun.com/docs/books/tutorial/uiswing/lookandfeel/plaf.html#available
I can confirm that the correct behaviour is to default to CrossPlatformLookAndFeel, as per JRE 1.7 (and earlier versions of JRE 1.6).
So, just confirming, defaulting to CrossPlatformLookAndFeel is the _correct_ behaviour. This is done by JRE 1.7 but JRE 1.6.0_10-ea-b10 defaults to SystemLookAndFeel for some reason.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run any Java application (or applet) which doesn't specifically set its own LAF. On JRE 1.6.0_10-ea it will display using the SystemLookAndFeel. On JRE 1.7 (or any other JVM version) it will display using CrossPlatformLookAndFeel.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
It should use the CrossPlatformLookAndFeel as per http://java.sun.com/docs/books/tutorial/uiswing/lookandfeel/plaf.html#available.
ACTUAL -
It renders with SystemLookAndFeel.
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Specify platform specific LAF in swing.properties: e.g.
swing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFeel
Release Regression From : 6
The above release value was the last known release where this
bug was not reproducible. Since then there has been a regression.
Posted Date : 2008-01-23 08:53:08.0
- backported by
-
JDK-2164353 Default LAF is set to CrossPlatformLookAndFeel not SystemLookAndFeel
-
- Closed
-
- duplicates
-
JDK-6663202 REGRESSION: The default look and feel for Swing components has become SystemLookAndFeel
-
- Closed
-
-
JDK-6653165 api/javax_swing/plaf/basic/BasicInternalFrameUI/index.html#protected fails 6u10 under plugin
-
- Closed
-
-
JDK-6653174 AccessibleJTabbedPane0005 fails under plugin 6u10 b10
-
- Closed
-