summaryrefslogtreecommitdiff
path: root/javax
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2004-12-23 10:49:19 +0000
committerMichael Koch <konqueror@gmx.de>2004-12-23 10:49:19 +0000
commit537abaa3b50652ab7388fd41ef9dbb3982575a01 (patch)
tree97e2fcd18812ff2a7b6944d4cbc26135dd9ed774 /javax
parent2ebf5bf34f4e3c2ba34f4a639f46b4da099aedd2 (diff)
downloadclasspath-537abaa3b50652ab7388fd41ef9dbb3982575a01.tar.gz
2004-12-23 Michael Koch <konqueror@gmx.de>
* javax/swing/plaf/metal/MetalTheme.java (getControlTextColor): Return getControlInfo(). (getHighlightedTextColor): Return getControlTextColor().
Diffstat (limited to 'javax')
-rw-r--r--javax/swing/plaf/metal/MetalTheme.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/javax/swing/plaf/metal/MetalTheme.java b/javax/swing/plaf/metal/MetalTheme.java
index b73c14a12..0106bf7aa 100644
--- a/javax/swing/plaf/metal/MetalTheme.java
+++ b/javax/swing/plaf/metal/MetalTheme.java
@@ -102,7 +102,7 @@ public abstract class MetalTheme
public ColorUIResource getControlTextColor()
{
- return getBlack();
+ return getControlInfo();
}
public ColorUIResource getDesktopColor()
@@ -117,7 +117,7 @@ public abstract class MetalTheme
public ColorUIResource getHighlightedTextColor()
{
- return getBlack();
+ return getControlTextColor();
}
public ColorUIResource getInactiveControlTextColor()