hello, in very rare cases i get the following exception
javax.media.opengl.GLException: Surface already locked
at com.sun.opengl.impl.windows.WindowsOnscreenGLDrawable.lockSurface(WindowsOnscreenGLDrawable.java:156)
at com.sun.opengl.impl.windows.WindowsOnscreenGLContext.makeCurrentImpl(WindowsOnscreenGLContext.java:57)
at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:127)
at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:182)
at javax.media.opengl.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:298)
at sun.java2d.opengl.OGLRenderQueue$QueueFlusher.run(Unknown Source)
i was yet not able to reproduce this error, since it happens only about once in fifty times.
what may be special about my code is that i remove the GLcanvas from my frame and later on add it again. could this be the problem?
this is on (java6, jogl1.0.0, winXP)
thanks.