From 1f5db08d47bff2d4deba3d47aa4c023cd1c43956 Mon Sep 17 00:00:00 2001 From: ekresse Date: Thu, 3 Dec 2020 11:09:31 +0100 Subject: [PATCH 1/3] Menue Push --- src/de/jaujau/gui/Menue_GUI.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/de/jaujau/gui/Menue_GUI.java b/src/de/jaujau/gui/Menue_GUI.java index bb1987d..002192c 100644 --- a/src/de/jaujau/gui/Menue_GUI.java +++ b/src/de/jaujau/gui/Menue_GUI.java @@ -39,7 +39,7 @@ public class Menue_GUI extends JFrame implements ActionListener { private Spielerverwaltung spielerverwaltung; private JFrame frame; - + /** * Create the application. @@ -48,9 +48,9 @@ public class Menue_GUI extends JFrame implements ActionListener { public Menue_GUI(Spielerverwaltung speicherung) { this.spielerverwaltung = speicherung; speicherung.getSpieler(); + System.out.println("Menü-GUI aufgerufen"); initialize(); } - /** * Initialize the contents of the frame. */ @@ -58,12 +58,12 @@ public class Menue_GUI extends JFrame implements ActionListener { //Test GUI für JauJau - private void initialize() { frame = new JFrame(); frame.setBounds(100, 100, 783, 762); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.getContentPane().setLayout(new BorderLayout(0, 0)); + frame.setVisible(true); JPanel panel_top = new JPanel(); panel_top.setPreferredSize(new Dimension(200, 100)); From cbc7f5b573eb966837bf673ccf15f4d07594f71d Mon Sep 17 00:00:00 2001 From: ekresse Date: Thu, 3 Dec 2020 11:10:00 +0100 Subject: [PATCH 2/3] Update Menu --- src/de/jaujau/gui/Menue_GUI.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/de/jaujau/gui/Menue_GUI.java b/src/de/jaujau/gui/Menue_GUI.java index 002192c..fd9765e 100644 --- a/src/de/jaujau/gui/Menue_GUI.java +++ b/src/de/jaujau/gui/Menue_GUI.java @@ -50,6 +50,7 @@ public class Menue_GUI extends JFrame implements ActionListener { speicherung.getSpieler(); System.out.println("Menü-GUI aufgerufen"); initialize(); + } /** * Initialize the contents of the frame. From 52c2f969b89804832279d31968eb5b4e3f1b6c04 Mon Sep 17 00:00:00 2001 From: ekresse Date: Thu, 3 Dec 2020 11:10:40 +0100 Subject: [PATCH 3/3] Update GUI --- src/de/jaujau/gui/Menue_GUI.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/de/jaujau/gui/Menue_GUI.java b/src/de/jaujau/gui/Menue_GUI.java index fd9765e..4409147 100644 --- a/src/de/jaujau/gui/Menue_GUI.java +++ b/src/de/jaujau/gui/Menue_GUI.java @@ -56,7 +56,6 @@ public class Menue_GUI extends JFrame implements ActionListener { * Initialize the contents of the frame. */ - //Test GUI für JauJau private void initialize() {