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
This commit is contained in:
Matthias Schiffer 2011-05-16 22:27:39 +02:00
parent 46cf40c44f
commit c4c091eb61

View file

@ -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