Browse Source

[GamelauncherMain Class]: Erstellen des Panels.

remotes/origin/textadventure
fdai7382 2 years ago
parent
commit
f6399cc236
  1. 5
      JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java

5
JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java

@ -4,6 +4,7 @@ import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
/**
* Hello world!
@ -54,6 +55,10 @@ public class GamelauncherMain extends JFrame {
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setBounds(100, 100, breite, hoehe);
contentPane = new JPanel();
contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
setContentPane(contentPane);
contentPane.setLayout(null);
}

Loading…
Cancel
Save