classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: UIManager fix


From: Roman Kennke
Subject: [cp-patches] FYI: UIManager fix
Date: Fri, 23 Sep 2005 00:13:27 +0200 (CEST)
User-agent: SquirrelMail/1.4.4

The javax.swing.UIManager had an error in its static initializer. This
effictivly lets him load the MetalLookAndFeel in all cases, regardless of
the setting of the swing.defaultlaf property. This is fixed hereby. (The
reason why this used to work with the Swing demo is that the demo does
it's own UI setting, based on this same property for convenience).

2005-09-22  Roman Kennke  <address@hidden>

        * javax/swing/UIManager.java
        (static_initializer): Load MetalLookAndFeel only as fallback, if
        the system property 'swing.defaultlaf' is not defined. Before
        it has accidentally loaded the MetalLookAndFeel in all cases,
        regardless of the property setting.

/Roman

Attachment: UIManager.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]