From 9ced7cf9530cb1cc7446dbbae4b5c6a607de01d5 Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Wed, 22 Jun 2011 04:02:38 +0200 Subject: View Methoden-Sichtbarkeit korrigiert git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@574 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/view/impl/SidePanel.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/jrummikub/view/impl/SidePanel.java') diff --git a/src/jrummikub/view/impl/SidePanel.java b/src/jrummikub/view/impl/SidePanel.java index 843ebfd..9e2348f 100644 --- a/src/jrummikub/view/impl/SidePanel.java +++ b/src/jrummikub/view/impl/SidePanel.java @@ -52,7 +52,7 @@ class SidePanel extends JPanel implements ISidePanel { private JProgressBar heapBar; private GameSettings gameSettings; - public SidePanel() { + SidePanel() { setLayout(new GridBagLayout()); GridBagConstraints c = new GridBagConstraints(); @@ -214,7 +214,7 @@ class SidePanel extends JPanel implements ISidePanel { scrollToBottom(); } - public void scrollToBottom() { + void scrollToBottom() { scrollToBottom = true; } @@ -245,7 +245,7 @@ class SidePanel extends JPanel implements ISidePanel { JCheckBox showRules; JProgressBar heapBar; - public InfoPanel(JPanel gameInfo, JPanel ruleInfo) { + InfoPanel(JPanel gameInfo, JPanel ruleInfo) { ruleInfoPanel = ruleInfo; gameInfoPanel = gameInfo; setLayout(new GridBagLayout()); @@ -321,7 +321,7 @@ class SidePanel extends JPanel implements ISidePanel { } class PlayerListItem extends JPanel { - public PlayerListItem(IPlayer player) { + PlayerListItem(IPlayer player) { setLayout(new GridBagLayout()); setBorder(new EmptyBorder(0, 4, 0, 4)); PlayerSettings settings = player.getPlayerSettings(); @@ -402,7 +402,7 @@ class SidePanel extends JPanel implements ISidePanel { JPanel startSpacer; List listItems = new ArrayList(); - public PlayerListPanel() { + PlayerListPanel() { setBackground(Color.GRAY); setLayout(new GridBagLayout()); @@ -419,7 +419,7 @@ class SidePanel extends JPanel implements ISidePanel { } - public void setPlayers(List players) { + void setPlayers(List players) { for (PlayerListItem item : listItems) { remove(item); } -- cgit v1.2.3