summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mock/jrummikub/view/MockView.java9
-rw-r--r--src/jrummikub/view/impl/View.java1
2 files changed, 6 insertions, 4 deletions
diff --git a/mock/jrummikub/view/MockView.java b/mock/jrummikub/view/MockView.java
index c5f87ed..d26432a 100644
--- a/mock/jrummikub/view/MockView.java
+++ b/mock/jrummikub/view/MockView.java
@@ -43,6 +43,10 @@ public class MockView implements IView {
public boolean isGameListPanelVisible = false;
/** */
public boolean isQuitWarningPanelVisible = false;
+ /** */
+ public boolean isSidePanelVisible = false;
+ /** */
+ public boolean isConnectPanelVisible = false;
/** */
public Collection<Stone> selectedStones;
@@ -169,8 +173,7 @@ public class MockView implements IView {
@Override
public void showSidePanel(boolean show) {
- // TODO Auto-generated method stub
-
+ isSidePanelVisible=show;
}
public void showQuitWarningPanel(boolean show) {
@@ -189,7 +192,7 @@ public class MockView implements IView {
@Override
public void showConnectPanel(boolean show) {
- // TODO Auto-generated method stub
+ isConnectPanelVisible=show;
}
diff --git a/src/jrummikub/view/impl/View.java b/src/jrummikub/view/impl/View.java
index 4940999..bc35be4 100644
--- a/src/jrummikub/view/impl/View.java
+++ b/src/jrummikub/view/impl/View.java
@@ -6,7 +6,6 @@ import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ComponentAdapter;
import java.awt.event.ComponentEvent;
-import java.awt.event.ComponentListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.io.File;