summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/impl/SidePanel.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jrummikub/view/impl/SidePanel.java')
-rw-r--r--src/jrummikub/view/impl/SidePanel.java12
1 files changed, 6 insertions, 6 deletions
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<PlayerListItem> listItems = new ArrayList<PlayerListItem>();
- public PlayerListPanel() {
+ PlayerListPanel() {
setBackground(Color.GRAY);
setLayout(new GridBagLayout());
@@ -419,7 +419,7 @@ class SidePanel extends JPanel implements ISidePanel {
}
- public void setPlayers(List<IPlayer> players) {
+ void setPlayers(List<IPlayer> players) {
for (PlayerListItem item : listItems) {
remove(item);
}