Search code examples
joglopengl-4

Jogl, display() gets called before init() finishes


First time I have this problem

This is the last line executed in the init()

and then display() is called

Never faced this problem before. It quits init() at the same point even debugging step by step..

Ps: using com.jogamp.opengl.util.Animator as animator


Solution

  • There is an exception in the init() I wasnt catching before