Copy-n-pasted some code from OpenGL/lqjgl-tutorials and restructured it a bit.
intellij settings.