move before creation
This commit is contained in:
parent
abb1a97b3b
commit
94bd9a8af2
|
@ -57,14 +57,13 @@ public class WindowCreationTest {
|
||||||
|
|
||||||
int x = 100, y = 100;
|
int x = 100, y = 100;
|
||||||
boolean fullscreen = false;
|
boolean fullscreen = false;
|
||||||
|
System.out.println("Moving to 100, 100");
|
||||||
|
Display.setLocation(x, y);
|
||||||
|
|
||||||
// Create the actual window
|
// Create the actual window
|
||||||
try {
|
try {
|
||||||
setDisplayMode();
|
setDisplayMode();
|
||||||
Display.create();
|
Display.create();
|
||||||
|
|
||||||
System.out.println("Moving to 100, 100");
|
|
||||||
Display.setLocation(x, y);
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
System.out.println("Unable to create window!, exiting...");
|
System.out.println("Unable to create window!, exiting...");
|
||||||
|
|
Loading…
Reference in New Issue