summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/impl
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-06-22 05:44:23 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-06-22 05:44:23 +0200
commit77e119e77d6834388b4943fd80bc3c8aed8ee67e (patch)
treed293b8fb2f539e56872090a2052606a2769de13e /src/jrummikub/view/impl
parentba421e2c8b06d3de3381a003a92d3be148a6548e (diff)
downloadJRummikub-77e119e77d6834388b4943fd80bc3c8aed8ee67e.tar
JRummikub-77e119e77d6834388b4943fd80bc3c8aed8ee67e.zip
Correctly handle disappearing players during games
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@577 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/view/impl')
-rw-r--r--src/jrummikub/view/impl/WinPanel.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/jrummikub/view/impl/WinPanel.java b/src/jrummikub/view/impl/WinPanel.java
index 888cf75..21ea239 100644
--- a/src/jrummikub/view/impl/WinPanel.java
+++ b/src/jrummikub/view/impl/WinPanel.java
@@ -58,6 +58,10 @@ class WinPanel extends JPanel {
connectionLostLabel.setVerticalAlignment(JLabel.CENTER);
add(connectionLostLabel);
+ createButtons();
+ }
+
+ private void createButtons() {
newRoundButton = new JButton("Neue Runde");
newRoundButton.addActionListener(new ActionListener() {
@Override