Browse Source

refactoring: [MouseGame Class]: Umbenennen des Ziellabels.

remotes/origin/textadventure
fdai7382 2 years ago
parent
commit
dddb3615e6
  1. 10
      JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java

10
JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java

@ -57,11 +57,11 @@ public class MouseGame extends JFrame {
labelStart.setBounds(10, 11, 83, 49); labelStart.setBounds(10, 11, 83, 49);
contentPane.add(labelStart); contentPane.add(labelStart);
JLabel lblNewLabel = new JLabel("Ziel");
lblNewLabel.setHorizontalAlignment(SwingConstants.CENTER);
lblNewLabel.setFont(new Font("Tahoma", Font.BOLD, 30));
lblNewLabel.setBounds(809, 531, 67, 49);
contentPane.add(lblNewLabel);
JLabel labelZiel = new JLabel("Ziel");
labelZiel.setHorizontalAlignment(SwingConstants.CENTER);
labelZiel.setFont(new Font("Tahoma", Font.BOLD, 30));
labelZiel.setBounds(809, 531, 67, 49);
contentPane.add(labelZiel);
JPanel panel = new JPanel(); JPanel panel = new JPanel();
panel.setBorder(new LineBorder(new Color(0, 0, 0), 2)); panel.setBorder(new LineBorder(new Color(0, 0, 0), 2));

Loading…
Cancel
Save