Fixed player name label HTML bug
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@440 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
c84bebceb7
commit
751d5a3aa9
5 changed files with 5 additions and 0 deletions
|
@ -53,6 +53,7 @@ class GameListPanel extends JPanel implements IGameListPanel {
|
||||||
|
|
||||||
title = new JLabel();
|
title = new JLabel();
|
||||||
title.setFont(title.getFont().deriveFont(16.0f));
|
title.setFont(title.getFont().deriveFont(16.0f));
|
||||||
|
title.putClientProperty("html.disable", Boolean.TRUE);
|
||||||
add(title, c);
|
add(title, c);
|
||||||
|
|
||||||
add(Box.createVerticalStrut(3), c);
|
add(Box.createVerticalStrut(3), c);
|
||||||
|
|
|
@ -43,6 +43,7 @@ class PausePanel extends JPanel {
|
||||||
pauseLabel.setHorizontalTextPosition(JLabel.CENTER);
|
pauseLabel.setHorizontalTextPosition(JLabel.CENTER);
|
||||||
pauseLabel.setVerticalAlignment(JLabel.CENTER);
|
pauseLabel.setVerticalAlignment(JLabel.CENTER);
|
||||||
pauseLabel.setVerticalTextPosition(JLabel.CENTER);
|
pauseLabel.setVerticalTextPosition(JLabel.CENTER);
|
||||||
|
pauseLabel.putClientProperty("html.disable", Boolean.TRUE);
|
||||||
add(pauseLabel);
|
add(pauseLabel);
|
||||||
|
|
||||||
endPauseButton = new JButton("Spiel fortsetzen");
|
endPauseButton = new JButton("Spiel fortsetzen");
|
||||||
|
|
|
@ -133,6 +133,7 @@ class PlayerPanel extends JPanel implements IPlayerPanel {
|
||||||
currentPlayerNameLabel = new JLabel();
|
currentPlayerNameLabel = new JLabel();
|
||||||
currentPlayerNameLabel.setHorizontalAlignment(JLabel.CENTER);
|
currentPlayerNameLabel.setHorizontalAlignment(JLabel.CENTER);
|
||||||
currentPlayerNameLabel.setVerticalAlignment(JLabel.CENTER);
|
currentPlayerNameLabel.setVerticalAlignment(JLabel.CENTER);
|
||||||
|
currentPlayerNameLabel.putClientProperty("html.disable", Boolean.TRUE);
|
||||||
leftPanel.add(currentPlayerNameLabel);
|
leftPanel.add(currentPlayerNameLabel);
|
||||||
|
|
||||||
hasLaidOutLabel = new JLabel();
|
hasLaidOutLabel = new JLabel();
|
||||||
|
|
|
@ -948,6 +948,7 @@ class SettingsPanel extends JPanel implements ISettingsPanel {
|
||||||
colorButton = new JButton();
|
colorButton = new JButton();
|
||||||
nameLabel = new JLabel();
|
nameLabel = new JLabel();
|
||||||
nameLabel.setBorder(new EmptyBorder(3, 7, 3, 7));
|
nameLabel.setBorder(new EmptyBorder(3, 7, 3, 7));
|
||||||
|
nameLabel.putClientProperty("html.disable", Boolean.TRUE);
|
||||||
|
|
||||||
colorButton.addActionListener(new ActionListener() {
|
colorButton.addActionListener(new ActionListener() {
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -43,6 +43,7 @@ class StartTurnPanel extends JPanel {
|
||||||
startTurnLabel.setHorizontalTextPosition(JLabel.CENTER);
|
startTurnLabel.setHorizontalTextPosition(JLabel.CENTER);
|
||||||
startTurnLabel.setVerticalAlignment(JLabel.CENTER);
|
startTurnLabel.setVerticalAlignment(JLabel.CENTER);
|
||||||
startTurnLabel.setVerticalTextPosition(JLabel.CENTER);
|
startTurnLabel.setVerticalTextPosition(JLabel.CENTER);
|
||||||
|
startTurnLabel.putClientProperty("html.disable", Boolean.TRUE);
|
||||||
add(startTurnLabel);
|
add(startTurnLabel);
|
||||||
|
|
||||||
startTurnButton = new JButton("Zug beginnen");
|
startTurnButton = new JButton("Zug beginnen");
|
||||||
|
|
Reference in a new issue