Fixed size problem.

This commit is contained in:
2015-05-03 21:44:28 +02:00
parent c256cdfe13
commit 39484a720d
+1 -2
View File
@@ -11,7 +11,7 @@ public class Window extends JFrame {
public Window() public Window()
{ {
//Create window //Create window
super("Arcade"); super("Arcade-controls");
setSize(500,600); setSize(500,600);
//Set window close listener //Set window close listener
@@ -27,7 +27,6 @@ public class Window extends JFrame {
setContentPane(panel); setContentPane(panel);
//Display //Display
pack();
setVisible(true); setVisible(true);
} }
} }