summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/impl
diff options
context:
space:
mode:
authorBennet Gerlach <bennet_gerlach@web.de>2011-06-19 19:44:00 +0200
committerBennet Gerlach <bennet_gerlach@web.de>2011-06-19 19:44:00 +0200
commit9b7aac51f58eb628978ed0e4d1a922a959917a3b (patch)
treeb78014be6014d0be430c5c94c1d3a465a8bb9bdc /src/jrummikub/view/impl
parentb875e445308760afbc502517f3b4ab7aa979f2c9 (diff)
downloadJRummikub-9b7aac51f58eb628978ed0e4d1a922a959917a3b.tar
JRummikub-9b7aac51f58eb628978ed0e4d1a922a959917a3b.zip
fixed color in start turn panel
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@490 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/view/impl')
-rw-r--r--src/jrummikub/view/impl/StartTurnPanel.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jrummikub/view/impl/StartTurnPanel.java b/src/jrummikub/view/impl/StartTurnPanel.java
index 46e5f0a..4c895b5 100644
--- a/src/jrummikub/view/impl/StartTurnPanel.java
+++ b/src/jrummikub/view/impl/StartTurnPanel.java
@@ -75,11 +75,13 @@ class StartTurnPanel extends JPanel {
}
void setInitialMeldError(int points) {
+ startTurnLabel.setIcon(null);
startTurnLabel.setText("Es wurden weniger als " + points
+ " Punkte ausgelegt.");
}
void setInitialMeldFirstError() {
+ startTurnLabel.setIcon(null);
startTurnLabel.setText("Vor dem Rauskommen darf nicht angelegt werden.");
}
@@ -125,6 +127,7 @@ class StartTurnPanel extends JPanel {
buttonEvent = startTurnEvent;
break;
case INVALID_TURN_PANEL:
+ startTurnLabel.setIcon(null);
startTurnLabel.setText("Es liegen ung\u00FCltige Serien auf dem Tisch.");
startTurnButton.setText("N\u00E4chster Spieler");
buttonEvent = acknowledgeInvalidEvent;