Working Java version, uses lwjgl instead of jogamp.