Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  error with run jogl program!!!!!!  (Read 341 times)
0 Members and 1 Guest are viewing this topic.
Offline weqdd

JGO n00b
*

Posts: 3



« on: 2006-06-04 01:40:26 »

I tried to run the program "How to: Getting started with JOGL",it can pass the compiling but produce the follow error when i run it.i have put the jogl.jar and jogl.dll under the jre/lib/ext,and the jogl.dll under the jre/bin catalog.

Init GL is net.java.games.jogl.impl.windows.WindowsGLImpl
Exception in thread "Thread-3" net.java.games.jogl.GLException: java.lang.reflect.InvocationTargetException
   at net.java.games.jogl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:233)
   at net.java.games.jogl.GLCanvas.display(GLCanvas.java:80)
   at net.java.games.jogl.Animator$1.run(Animator.java:107)
   at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.reflect.InvocationTargetException
   at java.awt.EventQueue.invokeAndWait(EventQueue.java:851)
   at net.java.games.jogl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:228)
   ... 3 more
Caused by: net.java.games.jogl.GLException: Error swapping buffers
   at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.swapBuffers(WindowsOnscreenGLContext.java:155)
   at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:296)
   at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.invokeGL(WindowsOnscreenGLContext.java:79)
   at net.java.games.jogl.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:267)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
   at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:158)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Process exited with exit code 0.
who can help me with the error?thanks
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.093 seconds with 21 queries.