소스 검색

Fixed size problem.

Kenneth van Ewijk 10 년 전
부모
커밋
39484a720d
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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);
 	}
 }