Menue Push
This commit is contained in:
@@ -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<EFBFBD>-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));
|
||||
|
Reference in New Issue
Block a user