summaryrefslogtreecommitdiffstats
path: root/src/jrummikub
diff options
context:
space:
mode:
Diffstat (limited to 'src/jrummikub')
-rw-r--r--src/jrummikub/view/impl/SettingsPanel.java4
-rw-r--r--src/jrummikub/view/impl/SidePanel.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/jrummikub/view/impl/SettingsPanel.java b/src/jrummikub/view/impl/SettingsPanel.java
index bbd5262..7140bfc 100644
--- a/src/jrummikub/view/impl/SettingsPanel.java
+++ b/src/jrummikub/view/impl/SettingsPanel.java
@@ -356,7 +356,7 @@ class SettingsPanel extends JPanel implements ISettingsPanel {
.setText(Integer.toString(gameSettings.getJokerNumber()));
timeLabel.setText(gameSettings.getTotalTime() + " Sekunden");
noLimitsLabel.setText(gameSettings.isNoLimits() ? "An" : "Aus");
- seeHandSizeLabel.setText(gameSettings.doSeeHandSize() ? "An" : "Aus");
+ seeHandSizeLabel.setText(gameSettings.getSeeHandSize() ? "An" : "Aus");
colorLabelPanel.removeAll();
@@ -384,7 +384,7 @@ class SettingsPanel extends JPanel implements ISettingsPanel {
jokerNumberSpinner.setValue(gameSettings.getJokerNumber());
timeSpinner.setValue(gameSettings.getTotalTime());
noLimitsBox.setSelected(gameSettings.isNoLimits());
- seeHandSizeBox.setSelected(gameSettings.doSeeHandSize());
+ seeHandSizeBox.setSelected(gameSettings.getSeeHandSize());
}
private void updatePlayerSettingsPanel(int i, PlayerSettings settings,
diff --git a/src/jrummikub/view/impl/SidePanel.java b/src/jrummikub/view/impl/SidePanel.java
index facf430..d17838f 100644
--- a/src/jrummikub/view/impl/SidePanel.java
+++ b/src/jrummikub/view/impl/SidePanel.java
@@ -334,7 +334,7 @@ class SidePanel extends JPanel implements ISidePanel {
GridBagConstraints c = new GridBagConstraints();
c.gridx = 0;
c.gridy = 0;
- c.gridheight = gameSettings.doSeeHandSize() ? 3 : 2;
+ c.gridheight = gameSettings.getSeeHandSize() ? 3 : 2;
c.weighty = 1;
c.insets = new Insets(4, 4, 4, 4);
playerColor = new JLabel(ImageUtil.createColorIcon(
@@ -376,7 +376,7 @@ class SidePanel extends JPanel implements ISidePanel {
playerStatus = new JLabel(status);
add(playerStatus, c);
- if (gameSettings.doSeeHandSize()) {
+ if (gameSettings.getSeeHandSize()) {
JLabel handSizeLabel = new JLabel("Handsteine: ");
JLabel handSizeInfo = new JLabel("" + player.getHand().getSize());
c.gridy = 2;