Question about Animator

Hi, how can the Animator class call the GLAutoDrawable display method? Shouldn’t AWT event dispatch thread automatically do it? What happens then? Is it called twice, once with AWT and another manually?

AWT calls the paint(Graphics) method on Components. If you don’t mix GLJPanels with other Swing components then repaint events should still be disabled, as explained here (in short, call setIgnoreRepaint(true) on the window): http://java.sun.com/docs/books/tutorial/extra/fullscreen/rendering.html