[Top][All Lists]
[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
BasicLookAndFeel.java
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: fix javax.swing.plaf.basic.BasicLookAndFeel,
Roman Kennke <=