Code from the OpenGL tutorial on Youtube: https://youtu.be/VS8wlS9hF8E?list=PLRIWtICgwaX0u7Rf9zkZhLoLuZVfUksDP
This code requires the lwjgl.jar and lwjgl_utils.jar from LWJGL 2, along with the relevant natives. Here is a tutorial about setting up the project: https://youtu.be/Jdkq-aSFEA0
In this first tutorial we set up a simple display using LWJGL 2. Setting up a display is not handled by OpenGL, so you will need different code if you are using LWJGL 3, or are following the tutorials in C++.
This tutorial covers:
-Creating a LWJGL 2 display.
-Updating the display.
-Capping the frame rate.
-Determining the size of the display.
-Closing the display.