Browse Source

refactoring: [MouseGame Class]: Umbenennen des Startlabels.

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

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

@ -51,11 +51,11 @@ public class MouseGame extends JFrame {
contentPane.setForeground(new Color(0, 0, 0));
contentPane.setBackground(new Color(128, 128, 128));
JLabel lblNewLabel_1 = new JLabel("Start");
lblNewLabel_1.setHorizontalAlignment(SwingConstants.CENTER);
lblNewLabel_1.setFont(new Font("Tahoma", Font.BOLD, 30));
lblNewLabel_1.setBounds(10, 11, 83, 49);
contentPane.add(lblNewLabel_1);
JLabel labelStart = new JLabel("Start");
labelStart.setHorizontalAlignment(SwingConstants.CENTER);
labelStart.setFont(new Font("Tahoma", Font.BOLD, 30));
labelStart.setBounds(10, 11, 83, 49);
contentPane.add(labelStart);
JLabel lblNewLabel = new JLabel("Ziel");
lblNewLabel.setHorizontalAlignment(SwingConstants.CENTER);
@ -73,6 +73,4 @@ public class MouseGame extends JFrame {
}//end standardkonstruktor
}//end class
Loading…
Cancel
Save