diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-04-27 22:21:42 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-04-27 22:21:42 +0200 |
commit | 59e4d3664f172db9f173056fcf0dd628f503d09f (patch) | |
tree | 4f492398e30abe7f10ae0eb880560d7efce77aee /src/jrummikub/view/PlayerPanel.java | |
parent | a526d2efbf69ecf5fd951391644539d14c9b3798 (diff) | |
download | JRummikub-59e4d3664f172db9f173056fcf0dd628f503d09f.tar JRummikub-59e4d3664f172db9f173056fcf0dd628f503d09f.zip |
Paint table background
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@4 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/view/PlayerPanel.java')
-rw-r--r-- | src/jrummikub/view/PlayerPanel.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jrummikub/view/PlayerPanel.java b/src/jrummikub/view/PlayerPanel.java index f0416dd..b4affd0 100644 --- a/src/jrummikub/view/PlayerPanel.java +++ b/src/jrummikub/view/PlayerPanel.java @@ -15,7 +15,7 @@ import javax.swing.border.LineBorder; @SuppressWarnings("serial") public class PlayerPanel extends JPanel implements IPlayerPanel { - private final static DecimalFormat intFormat = new DecimalFormat("00"); + private final static DecimalFormat secondFormat = new DecimalFormat("00"); private Board board; @@ -40,7 +40,7 @@ public class PlayerPanel extends JPanel implements IPlayerPanel { public void setTimeLeft(int time) { timeBar.setValue(time); - timeBar.setString(Integer.toString(time/60) + ":" + intFormat.format(time%60)); + timeBar.setString(Integer.toString(time/60) + ":" + secondFormat.format(time%60)); } |