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:
parent
46cf40c44f
commit
c4c091eb61
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Reference in a new issue