diff --git a/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java b/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java index d46072e..a73c94c 100644 --- a/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java +++ b/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java @@ -83,16 +83,19 @@ public class MouseGame extends JFrame { panel.add(nordWand); JPanel suedWand = new JPanel(); + reset(suedWand); suedWand.setBackground(new Color(0, 0, 0)); suedWand.setBounds(0, 559, 696, 10); panel.add(suedWand); - JPanel ostWand = new JPanel(); + JPanel ostWand = new JPanel(); + reset(ostWand); ostWand.setBackground(new Color(0, 0, 0)); ostWand.setBounds(686, 0, 10, 509); panel.add(ostWand); - JPanel westWand = new JPanel(); + JPanel westWand = new JPanel(); + reset(westWand); westWand.setBackground(new Color(0, 0, 0)); westWand.setBounds(0, 60, 10, 509); panel.add(westWand);