Browse Source

[MouseGame Class]: Hinzufügen des Ostwand-Panels.

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

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

@ -60,7 +60,7 @@ public class MouseGame extends JFrame {
JLabel labelZiel = new JLabel("Ziel");
labelZiel.setHorizontalAlignment(SwingConstants.CENTER);
labelZiel.setFont(new Font("Tahoma", Font.BOLD, 30));
labelZiel.setBounds(809, 531, 67, 49);
labelZiel.setBounds(809, 525, 67, 49);
contentPane.add(labelZiel);
JPanel panel = new JPanel();
@ -75,6 +75,12 @@ public class MouseGame extends JFrame {
nordWand.setBounds(0, 0, 696, 10);
panel.add(nordWand);
JPanel panel_1 = new JPanel();
panel_1.setBackground(new Color(0, 0, 0));
panel_1.setBounds(686, 0, 10, 509);
panel.add(panel_1);
}//end standardkonstruktor

Loading…
Cancel
Save