I know there was a time based loop (so game is only updated every so many milli seconds) in the lwjgl section. Is there an equivalent timer in jogl?
public void display(GLDrawable drawable){
gl.glClear(GL.GL_COLOR_BUFFER_BIT | GL.GL_DEPTH_BUFFER_BIT );
//Some Code here
processKeyboard();
try{
Thread.sleep(1000/yourDesiredFPS);
}catch(Exception e){}
}
;D