From 37072af2e6843041582cf8d875cf478392270623 Mon Sep 17 00:00:00 2001 From: fdai7382 Date: Thu, 19 Jan 2023 12:20:20 +0100 Subject: [PATCH 01/16] =?UTF-8?q?[MouseGame=20Class]:=20=C3=84ndern=20der?= =?UTF-8?q?=20Fenstergr=C3=B6=C3=9Fe=20und=20Titel.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gruppenprojekt/JavaGamelauncher/MouseGame.java | 7 ++++++- 1 file changed, 6 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 290a38f..13b267c 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 @@ -1,6 +1,7 @@ package de.hs_fulda.gruppenprojekt.JavaGamelauncher; import java.awt.EventQueue; +import java.awt.Toolkit; import javax.swing.JFrame; import javax.swing.JPanel; @@ -28,8 +29,12 @@ public class MouseGame extends JFrame { }//end main - public MouseGame() { + public MouseGame() { + //Fensterrahmen Haupt Layout + setTitle("Maze Game"); + setBounds(100, 100, 900, 650); + }//end standardkonstruktor From 61d929cda1a3532cc4be4277c30da66e03f737b9 Mon Sep 17 00:00:00 2001 From: fdai7382 Date: Thu, 19 Jan 2023 12:24:04 +0100 Subject: [PATCH 02/16] =?UTF-8?q?[MouseGame=20Class]:=20Hinzuf=C3=BCgen=20?= =?UTF-8?q?eines=20ContentPanes.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gruppenprojekt/JavaGamelauncher/MouseGame.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 13b267c..0b0ee5f 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 @@ -1,10 +1,9 @@ package de.hs_fulda.gruppenprojekt.JavaGamelauncher; import java.awt.EventQueue; -import java.awt.Toolkit; - import javax.swing.JFrame; import javax.swing.JPanel; +import javax.swing.border.EmptyBorder; public class MouseGame extends JFrame { @@ -36,6 +35,12 @@ public class MouseGame extends JFrame { setBounds(100, 100, 900, 650); + contentPane = new JPanel(); + contentPane.setBorder(new EmptyBorder(5, 5, 5, 5)); + setContentPane(contentPane); + contentPane.setLayout(null); + + }//end standardkonstruktor From 76e2dc981fa61de2e7446ef9d0ccb0f2c7041f8d Mon Sep 17 00:00:00 2001 From: fdai7382 Date: Thu, 19 Jan 2023 12:27:31 +0100 Subject: [PATCH 03/16] =?UTF-8?q?[MouseGame=20Class]:=20=C3=84ndern=20der?= =?UTF-8?q?=20Hinter-=20und=20Fordergundfarbe.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gruppenprojekt/JavaGamelauncher/MouseGame.java | 7 ++++++- 1 file changed, 6 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 0b0ee5f..8ac9a7e 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 @@ -1,5 +1,6 @@ package de.hs_fulda.gruppenprojekt.JavaGamelauncher; +import java.awt.Color; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPanel; @@ -40,7 +41,11 @@ public class MouseGame extends JFrame { setContentPane(contentPane); contentPane.setLayout(null); - + setForeground(Color.GRAY); + setBackground(Color.DARK_GRAY); + contentPane.setForeground(new Color(0, 0, 0)); + contentPane.setBackground(new Color(128, 128, 128)); + }//end standardkonstruktor From 26a729951f548ba2a69e7e733614f2ae464b7df4 Mon Sep 17 00:00:00 2001 From: fdai7382 Date: Thu, 19 Jan 2023 12:32:50 +0100 Subject: [PATCH 04/16] =?UTF-8?q?[MouseGame=20Class]:=20Hinzuf=C3=BCgen=20?= =?UTF-8?q?des=20Startfeldes.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gruppenprojekt/JavaGamelauncher/MouseGame.java | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 8ac9a7e..ef09565 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 @@ -2,8 +2,12 @@ package de.hs_fulda.gruppenprojekt.JavaGamelauncher; import java.awt.Color; import java.awt.EventQueue; +import java.awt.Font; + import javax.swing.JFrame; +import javax.swing.JLabel; import javax.swing.JPanel; +import javax.swing.SwingConstants; import javax.swing.border.EmptyBorder; public class MouseGame extends JFrame { @@ -46,6 +50,12 @@ 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); + }//end standardkonstruktor From 4161a6ec91f48f8e0eb810b3562f6a48589e9a9c Mon Sep 17 00:00:00 2001 From: fdai7382 Date: Thu, 19 Jan 2023 12:33:45 +0100 Subject: [PATCH 05/16] =?UTF-8?q?[MouseGame=20Class]:=20Hinzuf=C3=BCgen=20?= =?UTF-8?q?des=20Zielfeldes.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java | 6 ++++++ 1 file changed, 6 insertions(+) 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 ef09565..fb4e813 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 @@ -56,6 +56,12 @@ public class MouseGame extends JFrame { lblNewLabel_1.setBounds(10, 11, 83, 49); contentPane.add(lblNewLabel_1); + 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); + }//end standardkonstruktor From 9f2ea566d883ec70270c765bb83473df90299d78 Mon Sep 17 00:00:00 2001 From: fdai7382 Date: Thu, 19 Jan 2023 13:03:51 +0100 Subject: [PATCH 06/16] =?UTF-8?q?[MouseGame=20Class]:=20Hinzuf=C3=BCgen=20?= =?UTF-8?q?des=20inneren=20Panels.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gruppenprojekt/JavaGamelauncher/MouseGame.java | 9 +++++++++ 1 file changed, 9 insertions(+) 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 fb4e813..c1a980a 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 @@ -9,6 +9,7 @@ import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.SwingConstants; import javax.swing.border.EmptyBorder; +import javax.swing.border.LineBorder; public class MouseGame extends JFrame { @@ -61,8 +62,16 @@ public class MouseGame extends JFrame { lblNewLabel.setFont(new Font("Tahoma", Font.BOLD, 30)); lblNewLabel.setBounds(809, 531, 67, 49); contentPane.add(lblNewLabel); + + JPanel panel = new JPanel(); + panel.setBorder(new LineBorder(new Color(0, 0, 0), 2)); + panel.setForeground(new Color(0, 0, 0)); + panel.setBounds(103, 11, 696, 569); + contentPane.add(panel); + panel.setLayout(null); + }//end standardkonstruktor From 566e9a32ca13470f19b0d952bc55a5b3899b33a8 Mon Sep 17 00:00:00 2001 From: fdai7382 Date: Thu, 19 Jan 2023 13:30:36 +0100 Subject: [PATCH 07/16] refactoring: [MouseGame Class]: Umbenennen des Startlabels. --- .../gruppenprojekt/JavaGamelauncher/MouseGame.java | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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 c1a980a..9c0d820 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 @@ -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 From dddb3615e658f758120f9ce2b7606e386b17b264 Mon Sep 17 00:00:00 2001 From: fdai7382 Date: Thu, 19 Jan 2023 13:31:28 +0100 Subject: [PATCH 08/16] refactoring: [MouseGame Class]: Umbenennen des Ziellabels. --- .../gruppenprojekt/JavaGamelauncher/MouseGame.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 9c0d820..123ce33 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 @@ -57,11 +57,11 @@ public class MouseGame extends JFrame { labelStart.setBounds(10, 11, 83, 49); 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(); panel.setBorder(new LineBorder(new Color(0, 0, 0), 2)); From f6eb7ba40a9667a479305cbb8ba94682943b0cb2 Mon Sep 17 00:00:00 2001 From: fdai7382 Date: Thu, 19 Jan 2023 13:33:46 +0100 Subject: [PATCH 09/16] =?UTF-8?q?[MouseGame=20Class]:=20Hinzuf=C3=BCgen=20?= =?UTF-8?q?der=20Nordwand.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java | 5 +++++ 1 file changed, 5 insertions(+) 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 123ce33..3ebfb45 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 @@ -69,6 +69,11 @@ public class MouseGame extends JFrame { panel.setBounds(103, 11, 696, 569); contentPane.add(panel); panel.setLayout(null); + + JPanel panel_1 = new JPanel(); + panel_1.setBackground(new Color(0, 0, 0)); + panel_1.setBounds(0, 0, 696, 10); + panel.add(panel_1); From 864256c1da819cb15b259d83715bc179d604c0fc Mon Sep 17 00:00:00 2001 From: fdai7382 Date: Thu, 19 Jan 2023 13:34:38 +0100 Subject: [PATCH 10/16] refactoring: [MouseGame Class]: Umbenennen des NordWand-Panels. --- .../gruppenprojekt/JavaGamelauncher/MouseGame.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 3ebfb45..e0f6c9d 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 @@ -70,10 +70,10 @@ public class MouseGame extends JFrame { contentPane.add(panel); panel.setLayout(null); - JPanel panel_1 = new JPanel(); - panel_1.setBackground(new Color(0, 0, 0)); - panel_1.setBounds(0, 0, 696, 10); - panel.add(panel_1); + JPanel nordWand = new JPanel(); + nordWand.setBackground(new Color(0, 0, 0)); + nordWand.setBounds(0, 0, 696, 10); + panel.add(nordWand); From 1bb3caea7a934394fcd7081fc3a3a5a6ca3c641f Mon Sep 17 00:00:00 2001 From: fdai7382 Date: Thu, 19 Jan 2023 13:36:52 +0100 Subject: [PATCH 11/16] =?UTF-8?q?[MouseGame=20Class]:=20Hinzuf=C3=BCgen=20?= =?UTF-8?q?des=20Ostwand-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 From 546bfe568d376256c1a831aa66e6a927c1f7a466 Mon Sep 17 00:00:00 2001 From: fdai7382 Date: Thu, 19 Jan 2023 13:38:15 +0100 Subject: [PATCH 12/16] refactoring: [MouseGame Class]: Umbenennen des OstWand-Panels. --- .../gruppenprojekt/JavaGamelauncher/MouseGame.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 2a6d87b..b3c2f80 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 @@ -75,10 +75,10 @@ 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); + JPanel ostWand = new JPanel(); + ostWand.setBackground(new Color(0, 0, 0)); + ostWand.setBounds(686, 0, 10, 509); + panel.add(ostWand); From 7a4ee21bb9c2b55e12f430f4ee198560d62f34da Mon Sep 17 00:00:00 2001 From: fdai7382 Date: Thu, 19 Jan 2023 13:48:10 +0100 Subject: [PATCH 13/16] =?UTF-8?q?[MouseGame=20Class]:=20Hinzuf=C3=BCgen=20?= =?UTF-8?q?des=20S=C3=BCdWand-Panels.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java | 5 +++++ 1 file changed, 5 insertions(+) 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 b3c2f80..8328c9e 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 @@ -79,6 +79,11 @@ public class MouseGame extends JFrame { ostWand.setBackground(new Color(0, 0, 0)); ostWand.setBounds(686, 0, 10, 509); panel.add(ostWand); + + JPanel panel_1 = new JPanel(); + panel_1.setBackground(new Color(0, 0, 0)); + panel_1.setBounds(0, 559, 696, 10); + panel.add(panel_1); From 58d9c66d64be2e701dad19c6d5acf55c3a5143e8 Mon Sep 17 00:00:00 2001 From: fdai7382 Date: Thu, 19 Jan 2023 13:48:57 +0100 Subject: [PATCH 14/16] =?UTF-8?q?refactoring:=20[MouseGame=20Class]:=20Umb?= =?UTF-8?q?enennen=20des=20S=C3=BCdWand-Panels.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gruppenprojekt/JavaGamelauncher/MouseGame.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 8328c9e..a51c0db 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 @@ -80,10 +80,10 @@ public class MouseGame extends JFrame { ostWand.setBounds(686, 0, 10, 509); panel.add(ostWand); - JPanel panel_1 = new JPanel(); - panel_1.setBackground(new Color(0, 0, 0)); - panel_1.setBounds(0, 559, 696, 10); - panel.add(panel_1); + JPanel suedWand = new JPanel(); + suedWand.setBackground(new Color(0, 0, 0)); + suedWand.setBounds(0, 559, 696, 10); + panel.add(suedWand); From c9cf4846d35a374401e3592c95785042dfe66695 Mon Sep 17 00:00:00 2001 From: fdai7382 Date: Thu, 19 Jan 2023 14:39:34 +0100 Subject: [PATCH 15/16] =?UTF-8?q?[MouseGame=20Class]:=20Hinzuf=C3=BCgen=20?= =?UTF-8?q?des=20WestWand-Panels.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java | 5 +++++ 1 file changed, 5 insertions(+) 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 a51c0db..333acff 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 @@ -84,6 +84,11 @@ public class MouseGame extends JFrame { suedWand.setBackground(new Color(0, 0, 0)); suedWand.setBounds(0, 559, 696, 10); panel.add(suedWand); + + JPanel panel_1 = new JPanel(); + panel_1.setBackground(new Color(0, 0, 0)); + panel_1.setBounds(0, 60, 10, 509); + panel.add(panel_1); From b0bc4a1c39bc8ac334b10be1ef4b1816f07dcb8c Mon Sep 17 00:00:00 2001 From: fdai7382 Date: Thu, 19 Jan 2023 14:40:44 +0100 Subject: [PATCH 16/16] refactoring: [MouseGame Class]: Umbenennen des WestWand-Panels. --- .../gruppenprojekt/JavaGamelauncher/MouseGame.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 333acff..48b9533 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 @@ -85,10 +85,10 @@ public class MouseGame extends JFrame { suedWand.setBounds(0, 559, 696, 10); panel.add(suedWand); - JPanel panel_1 = new JPanel(); - panel_1.setBackground(new Color(0, 0, 0)); - panel_1.setBounds(0, 60, 10, 509); - panel.add(panel_1); + JPanel westWand = new JPanel(); + westWand.setBackground(new Color(0, 0, 0)); + westWand.setBounds(0, 60, 10, 509); + panel.add(westWand);