Disable GameFrame being resizable.

This commit is contained in:
Jan Philipp Timme 2014-10-31 10:05:23 +01:00
parent 9b2b295cdb
commit 676be810e5

View File

@ -33,7 +33,7 @@ public class GameFrame extends JFrame {
public void init() {
this.setTitle("Unser schöner Titel");
this.setSize(GameConfig.windowWidth, GameConfig.windowHeight);
// this.setResizable(false);
this.setResizable(false);
this.setUndecorated(false);
this.setDefaultCloseOperation(EXIT_ON_CLOSE);