classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: fix javax.swing.plaf.basic.BasicLookAndFeel


From: Roman Kennke
Subject: [cp-patches] FYI: fix javax.swing.plaf.basic.BasicLookAndFeel
Date: Wed, 20 Apr 2005 22:45:55 +0200

I modified the BasicLookAndFeel so that the property Button.border is
BasicBorders.getButtonBorder as it should be. I had to do a little stunt
here, because BasicBorders.getButtonBorder needs UIDefaults from the
LookAndFeel and of course they are not in place at this point in time
(this would lead to an endless loop). So I had to encapsulate the border
in a LazyValue object, that lets the border object instantiate when it
is first requested.

2005-04-20  Roman Kennke  <address@hidden>

        * javax/swing/plaf/basic/BasicLookAndFeel.java
        (initComponentDefaults): Changed Button.border to be
        BasicBorders.getButtonBorder as it should be.

/Roman

Attachment: BasicLookAndFeel.java
Description: Text Data


reply via email to

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