Search code examples
javalwjgl

LWJGL Display opens on the bottom of my screen


I am creating a game with LWJGL with java 7 64bits and I have a problem,

when I put in my code :

Display.setResizable(true);

The Display pop on the bottom of my screen like this :

enter image description here

If you can help me to fix this display answer this post :)

This is the code of my main class :

https://www.dropbox.com/s/fi3fjszc4ozcipi/code.txt?dl=0


Solution

  • try adding

    Display.setLocation(x,y);