diff options
author | David Gilbert <david.gilbert@object-refinery.com> | 2005-08-30 12:48:35 +0000 |
---|---|---|
committer | David Gilbert <david.gilbert@object-refinery.com> | 2005-08-30 12:48:35 +0000 |
commit | 3b1111cf28f76c480058d19c340117b4651cb2c4 (patch) | |
tree | dae653d038aebf1c172e92d6c6b60feb85209629 /javax/swing/plaf/metal/MetalLookAndFeel.java | |
parent | 7771ac5a30f1207096bd957b72a6051b29c91ed6 (diff) | |
download | classpath-3b1111cf28f76c480058d19c340117b4651cb2c4.tar.gz |
2005-08-30 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/metal/MetalLabelUI.java
(instance): renamed 'metalLabelUI' and changed from private to
protected,
(createUI): modified for renamed field,
(paintDisabledText): implemented,
* javax/swing/plaf/metal/MetalLookAndFeel.java
(initComponentDefaults): modified Label defaults.
Diffstat (limited to 'javax/swing/plaf/metal/MetalLookAndFeel.java')
-rw-r--r-- | javax/swing/plaf/metal/MetalLookAndFeel.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/javax/swing/plaf/metal/MetalLookAndFeel.java b/javax/swing/plaf/metal/MetalLookAndFeel.java index 3f1d78aa0..1618b1c6a 100644 --- a/javax/swing/plaf/metal/MetalLookAndFeel.java +++ b/javax/swing/plaf/metal/MetalLookAndFeel.java @@ -797,8 +797,8 @@ public class MetalLookAndFeel extends BasicLookAndFeel MetalIconFactory.getInternalFrameMinimizeIcon(16), "Label.background", new ColorUIResource(getControl()), "Label.font", getControlTextFont(), - "Label.disabledForeground", new ColorUIResource(getControlDisabled()), - "Label.foreground", new ColorUIResource(getSystemTextColor()), + "Label.disabledForeground", new ColorUIResource(getInactiveControlTextColor()), + "Label.foreground", new ColorUIResource(getControlTextColor()), "Menu.background", new ColorUIResource(getControl()), "Menu.border", new MetalBorders.MenuItemBorder(), "Menu.borderPainted", Boolean.TRUE, |