summaryrefslogtreecommitdiff
path: root/javax
diff options
context:
space:
mode:
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()