summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-05-05 01:37:24 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-05-05 01:37:24 +0200
commit1b881c2ac7dc3f765a6efad115ef173f77bd2e33 (patch)
treef4431a071cfc80ace1ea67aac40ec6d8682e5d48
parent121afdf6c6341cb04a91d47db0c2fc477ccd84da (diff)
downloadJRummikub-1b881c2ac7dc3f765a6efad115ef173f77bd2e33.tar
JRummikub-1b881c2ac7dc3f765a6efad115ef173f77bd2e33.zip
Fix win panel and turn panel visibility
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@141 72836036-5685-4462-b002-a69064685172
-rw-r--r--src/jrummikub/view/impl/View.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jrummikub/view/impl/View.java b/src/jrummikub/view/impl/View.java
index 6300109..5697cb6 100644
--- a/src/jrummikub/view/impl/View.java
+++ b/src/jrummikub/view/impl/View.java
@@ -107,13 +107,13 @@ public class View extends JFrame implements IView {
public void enableStartTurnPanel(boolean enable) {
playerPanel.setVisible(!enable);
startTurnPanel.setVisible(enable);
- winPanel.setVisible(!enable);
+ winPanel.setVisible(false);
}
@Override
public void enableWinPanel(boolean enable) {
playerPanel.setVisible(!enable);
- startTurnPanel.setVisible(!enable);
+ startTurnPanel.setVisible(false);
winPanel.setVisible(enable);
}