Ken (or anyone else), could you have a look at the error log (from thijs) and suggest me something please ? I’m a bit lost ???
In the game, the canvas is added from the init() method of the applet, and removed from the destroy() method.
The game loop uses the FPSAnimator class, and animator.stop() is invoked from the applet.stop() method. (so everything should happen in the EDT)
I’ve tried to release every display list and texture objects before removing the canvas, but it doesn’t change anything.
I’ve also tried not removing the canvas, but the crash also happens
The strange thing is that the game doesn’t crash on exit when you just display the menu, and then change of page (it starts crashing only when the game has been displayed, even only for a few seconds of play).
I’ve also tried removing sound, but as expected it doesn’t change anything.
I’m sure it’s related to that game (Jack Flower doesn’t crash on exit when played as an applet) but I don’t know why…
Any ideas ?
Lilian