Browse Source

Fixed size problem.

Kenneth van Ewijk 10 năm trước cách đây
mục cha
commit
39484a720d
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      main/Window.java

+ 1 - 2
main/Window.java

@@ -11,7 +11,7 @@ public class Window extends JFrame {
 	public Window()
 	{
 		//Create window
-		super("Arcade");
+		super("Arcade-controls");
 		setSize(500,600);
 		
 		//Set window close listener
@@ -27,7 +27,6 @@ public class Window extends JFrame {
 		setContentPane(panel);
 		
 		//Display
-		pack();
 		setVisible(true);
 	}
 }