From 1f5db08d47bff2d4deba3d47aa4c023cd1c43956 Mon Sep 17 00:00:00 2001 From: ekresse Date: Thu, 3 Dec 2020 11:09:31 +0100 Subject: [PATCH] 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));