So I'm trying to make a fullscreen game window in Eclipse using LWJGL, but I don't know how to resize the window so the Height is the Height of the screen, and the width is resized so that it keeps the same ratio as before, and has black bars put on the sides of the screen to fill out the rest.
Does anyone know how to do that? Is there a method that I missed?

