JDK-6642601 : Windows LAF has too eager initialization
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2007-12-17
  • Updated: 2011-01-19
  • Resolved: 2009-04-06
Related Reports
Duplicate :  
Description
WindowsLookAndFeel does initialize some of classes/resources lazily but does not do this consistently.
For instance, ActiveWindowsIcon triggers requests for images that might be not needed (e.g. TreeOpen icon).

One interesting test to see how much of LAF is needed for Webstart dialogs.
Webstart application may reset LAF to something else and all additional LAF initialization
work will be useless.

Perhaps some other init work can be delayed.