GLException while closing the applet
in
Contributed Library Questions
•
1 year ago
Hi everybody,
here's the problem: i wrote an applet which works with maps and draws things on them. It seems to work quite fine, but when I close the applet(using the eclipse applet viewer) I get this exception:
- Exception in thread "Animation Thread" javax.media.opengl.GLException: Unable to lock surface
- at com.sun.opengl.impl.x11.X11OnscreenGLDrawable.lockSurface(X11OnscreenGLDrawable.java:133)
- at com.sun.opengl.impl.x11.X11OnscreenGLContext.makeCurrentImpl(X11OnscreenGLContext.java:61)
- at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:134)
- at processing.opengl.PGraphicsOpenGL.detainContext(Unknown Source)
- at codeanticode.glgraphics.GLGraphics.dispose(Unknown Source)
- at processing.core.PApplet.dispose(Unknown Source)
- at processing.core.PApplet.run(Unknown Source)
- at java.lang.Thread.run(Thread.java:662)
I can't understand what it is and wasn't able to find anything with google..
What does "Unable to lock surface" mean?
Does anyone know something about it?
Thank you guys.
Marco Galassi
1