summaryrefslogtreecommitdiffstats
path: root/src/jrummikub
diff options
context:
space:
mode:
Diffstat (limited to 'src/jrummikub')
-rw-r--r--src/jrummikub/view/impl/GameListPanel.java1
-rw-r--r--src/jrummikub/view/impl/PausePanel.java1
-rw-r--r--src/jrummikub/view/impl/PlayerPanel.java1
-rw-r--r--src/jrummikub/view/impl/SettingsPanel.java1
-rw-r--r--src/jrummikub/view/impl/StartTurnPanel.java1
5 files changed, 5 insertions, 0 deletions
diff --git a/src/jrummikub/view/impl/GameListPanel.java b/src/jrummikub/view/impl/GameListPanel.java
index 3041d1a..b7b170b 100644
--- a/src/jrummikub/view/impl/GameListPanel.java
+++ b/src/jrummikub/view/impl/GameListPanel.java
@@ -53,6 +53,7 @@ class GameListPanel extends JPanel implements IGameListPanel {
title = new JLabel();
title.setFont(title.getFont().deriveFont(16.0f));
+ title.putClientProperty("html.disable", Boolean.TRUE);
add(title, c);
add(Box.createVerticalStrut(3), c);
diff --git a/src/jrummikub/view/impl/PausePanel.java b/src/jrummikub/view/impl/PausePanel.java
index 60e7038..f9e99ad 100644
--- a/src/jrummikub/view/impl/PausePanel.java
+++ b/src/jrummikub/view/impl/PausePanel.java
@@ -43,6 +43,7 @@ class PausePanel extends JPanel {
pauseLabel.setHorizontalTextPosition(JLabel.CENTER);
pauseLabel.setVerticalAlignment(JLabel.CENTER);
pauseLabel.setVerticalTextPosition(JLabel.CENTER);
+ pauseLabel.putClientProperty("html.disable", Boolean.TRUE);
add(pauseLabel);
endPauseButton = new JButton("Spiel fortsetzen");
diff --git a/src/jrummikub/view/impl/PlayerPanel.java b/src/jrummikub/view/impl/PlayerPanel.java
index f18f053..2481f7e 100644
--- a/src/jrummikub/view/impl/PlayerPanel.java
+++ b/src/jrummikub/view/impl/PlayerPanel.java
@@ -133,6 +133,7 @@ class PlayerPanel extends JPanel implements IPlayerPanel {
currentPlayerNameLabel = new JLabel();
currentPlayerNameLabel.setHorizontalAlignment(JLabel.CENTER);
currentPlayerNameLabel.setVerticalAlignment(JLabel.CENTER);
+ currentPlayerNameLabel.putClientProperty("html.disable", Boolean.TRUE);
leftPanel.add(currentPlayerNameLabel);
hasLaidOutLabel = new JLabel();
diff --git a/src/jrummikub/view/impl/SettingsPanel.java b/src/jrummikub/view/impl/SettingsPanel.java
index 8daf1fa..d5599a1 100644
--- a/src/jrummikub/view/impl/SettingsPanel.java
+++ b/src/jrummikub/view/impl/SettingsPanel.java
@@ -948,6 +948,7 @@ class SettingsPanel extends JPanel implements ISettingsPanel {
colorButton = new JButton();
nameLabel = new JLabel();
nameLabel.setBorder(new EmptyBorder(3, 7, 3, 7));
+ nameLabel.putClientProperty("html.disable", Boolean.TRUE);
colorButton.addActionListener(new ActionListener() {
@Override
diff --git a/src/jrummikub/view/impl/StartTurnPanel.java b/src/jrummikub/view/impl/StartTurnPanel.java
index 10cd8a0..6d6e1b5 100644
--- a/src/jrummikub/view/impl/StartTurnPanel.java
+++ b/src/jrummikub/view/impl/StartTurnPanel.java
@@ -43,6 +43,7 @@ class StartTurnPanel extends JPanel {
startTurnLabel.setHorizontalTextPosition(JLabel.CENTER);
startTurnLabel.setVerticalAlignment(JLabel.CENTER);
startTurnLabel.setVerticalTextPosition(JLabel.CENTER);
+ startTurnLabel.putClientProperty("html.disable", Boolean.TRUE);
add(startTurnLabel);
startTurnButton = new JButton("Zug beginnen");