JDK-6663202 : REGRESSION: The default look and feel for Swing components has become SystemLookAndFeel
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u10
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2008-02-14
  • Updated: 2011-01-19
  • Resolved: 2008-02-26
Related Reports
Duplicate :  
Description
The default look and feel for Java6u10 has become SystemLookAndFeel (com.sun.java.swing.plaf.windows.WindowsLookAndFeel in case of Windows) instead of CrossPlatformLookAndFeel (javax.swing.plaf.metal.MetalLookAndFeel).

Load the attached JAppet into any browser. Look at the console to know which look and feel it is using. If it is not MetalLookAndFeel, this bug is reproducible. 

The same issue is applicable with plugin2 also.

This is a regression, Java1.6.0 loads the same applet with into the browser using Java look (javax.swing.plaf.metal.MetalLookAndFeel) and feel which is the correct behavior. 


Note : The attached JApplet uses Java look and feel when viewed using AppletViewer, but uses Windows look and feel when tried with browser (using Java6u10).
Also look at the attached screenshot.

Comments
EVALUATION We created this regression intentionally when we changed DeployUIManager to set the defaultlf property instead of touching swing to set the curent look and feel. We need to see if 1.) there is another way to do this, or 2>) we can get a waiver from the conformance group.
25-02-2008