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