summaryrefslogtreecommitdiffstats
path: root/src/jrummikub
diff options
context:
space:
mode:
authorBennet Gerlach <bennet_gerlach@web.de>2011-06-21 01:44:12 +0200
committerBennet Gerlach <bennet_gerlach@web.de>2011-06-21 01:44:12 +0200
commitf304f20cbccca0fb959a4d2fabb31946e11580cb (patch)
treed81d38e026690c07433e9f77b4d9ab0cc07172f1 /src/jrummikub
parentb0a89642b77736ab5032661f60eb3310a0864c30 (diff)
downloadJRummikub-f304f20cbccca0fb959a4d2fabb31946e11580cb.tar
JRummikub-f304f20cbccca0fb959a4d2fabb31946e11580cb.zip
fixed doSeeHandSize
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@523 72836036-5685-4462-b002-a69064685172
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;