Please help me

Hi
when i try to run OPengl under window XP on my computer, i got the following error message:


Exception in thread “AWT-EventQueue-0” javax.media.opengl.GLException: Surface a
lready locked
at com.sun.opengl.impl.windows.WindowsOnscreenGLDrawable.lockSurface(Win
dowsOnscreenGLDrawable.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:1
  1. at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.
    

java:258)
at javax.media.opengl.GLCanvas.display(GLCanvas.java:130)
at javax.media.opengl.GLCanvas.paint(GLCanvas.java:142)
at javax.media.opengl.GLCanvas.update(GLCanvas.java:213)
at sun.awt.RepaintArea.updateComponent(Unknown Source)
at sun.awt.RepaintArea.paint(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

please give me some suggestions

THank you

Huh, it looks more related to Java than openGL.
Can you provide more details on what are you doing ? What are you programming ? With which java-GL API ?

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.