From 77e119e77d6834388b4943fd80bc3c8aed8ee67e Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 22 Jun 2011 05:44:23 +0200 Subject: Correctly handle disappearing players during games git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@577 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/view/impl/WinPanel.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/jrummikub/view/impl') 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 -- cgit v1.2.3