problem with Animator

Hi!

I tried to use the class com.sun.opengl.util.Animator but the result was very very disappointing, the keyboard and the sound didn’t work correctly, the frame rate was unstable. I only added the following line:
new Animator(canvas).start();

Do you have an idea of the cause of this problem?

Seems peculiar. The source of Animator seems moderately straightforward; perhaps comparing that to the method you’ve used more successfully might lend some clues?

I call gameController.display() that calls canvas.display() one time per iteration in the model part (MVC) of the application as you can see in the source code, in main.GameModel.runEngine() and it works perfectly. I wanted to use an animator to avoid requiring the model to ask the controller when it should refresh the view.