Disable GameFrame being resizable.
This commit is contained in:
parent
9b2b295cdb
commit
676be810e5
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user