LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: JESTERRRRRR on September 03, 2012, 18:48:43

Title: [solved]Automatic window resize
Post by: JESTERRRRRR on September 03, 2012, 18:48:43
Does anyone know why or how to avoid a minimized window automatically resizing upon being selected? I have swing windows popping up, and when i go back to LWJGL it resizes to my initial value I set with

Display.setDisplayMode(new DisplayMode(400,300));
Display.setTitle("Title");
Display.setVSyncEnabled(true);
Display.setResizable(true);
Display.create();

edit: Well for anyone who else might have this problem, I moved the 'main' method from a seperate class into the class that I do the above code and the problem dissapeared