title: Screen width and height LWJGL
body: <p>I am making a simple LWJGL program and would like to be able to use the width and height of the window. I can do it now I just have to use <code>Display.getDisplayMode().getWidth()</code> but I have seen people use just <code>Display.getWidth()</code></p>
  
  <p>So my question is why is this happening, and what do I need to change for it to just use <code>Display.getWidth();</code></p>