From 1bb3caea7a934394fcd7081fc3a3a5a6ca3c641f Mon Sep 17 00:00:00 2001 From: fdai7382 Date: Thu, 19 Jan 2023 13:36:52 +0100 Subject: [PATCH] =?UTF-8?q?[MouseGame=20Class]:=20Hinzuf=C3=BCgen=20des=20?= =?UTF-8?q?Ostwand-Panels.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gruppenprojekt/JavaGamelauncher/MouseGame.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 e0f6c9d..2a6d87b 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 @@ -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(); @@ -74,8 +74,14 @@ public class MouseGame extends JFrame { nordWand.setBackground(new Color(0, 0, 0)); 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 }//end class