Applet reload problem

Hi all,

I have a problem when I try to reload a SimpleJMEApplet. This is the trace I got:


at org.lwjgl.opengl.GL11.glDeleteTextures(

at com.jme.scene.state.lwjgl.LWJGLTextureState.deleteAll(Unknown Source)

at com.jme.scene.Text.resetFontTexture(Unknown Source)

at com.jmex.awt.applet.SimpleJMEApplet.init(Unknown Source)

at Source)

at Source)

Seems that some textures has not been correctly cleaned. I try to reset the DisplaySystem previous to init the applet but the problem continues. I was using a pretty new CVS version but I have updated my jmonkey version and the problem is still here.

Someone has detected that? Any idea to solve this point?

Thanks in advance,


i am not familiar with Applets, but when seeing GL11 and Thread in the same backtrace i immidiately think of GameTaskQueue Manager :slight_smile:

Try to wrap the Text.resetFontTexture in GameTask which gets executed in the OpenGL thread.


Problem is with SimpleJMEApplet calling resetFontTexture outside of teh openGL thread.

Also see: