summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-05-16 22:27:39 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-05-16 22:27:39 +0200
commitc4c091eb61738dc9a1b816dbf0b13657f6f881fa (patch)
tree6b4992759ab2fda6ea10741ddfddc628726fde8b
parent46cf40c44ff87e51e4ad6165b4371d61df3f21eb (diff)
downloadJRummikub-c4c091eb61738dc9a1b816dbf0b13657f6f881fa.tar
JRummikub-c4c091eb61738dc9a1b816dbf0b13657f6f881fa.zip
Use correct default foreground color for the time bar
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@247 72836036-5685-4462-b002-a69064685172
-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