summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view
diff options
context:
space:
mode:
Diffstat (limited to 'src/jrummikub/view')
-rw-r--r--src/jrummikub/view/impl/PlayerPanel.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jrummikub/view/impl/PlayerPanel.java b/src/jrummikub/view/impl/PlayerPanel.java
index 8d0719a..8a5912d 100644
--- a/src/jrummikub/view/impl/PlayerPanel.java
+++ b/src/jrummikub/view/impl/PlayerPanel.java
@@ -13,6 +13,7 @@ import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JProgressBar;
+import javax.swing.UIManager;
import javax.swing.border.EmptyBorder;
import jrummikub.util.Event;
@@ -72,7 +73,7 @@ class PlayerPanel extends JPanel implements IPlayerPanel {
if (time <= 10)
timeBar.setForeground(Color.RED);
else
- timeBar.setForeground(Color.BLACK);
+ timeBar.setForeground(UIManager.getColor("ProgressBar.foreground"));
}
@Override