net.java.games.jogl.GLException: Error swapping bu

Hello,
I have a problem when I close my application:

net.java.games.jogl.GLException: Error swapping buffers
at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.swapBuffers(WindowsOnscreenGLContext.java:159)
at net.java.games.jogl.GLCanvas$SwapBuffersAction.run(GLCanvas.java:248)
at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:283)
at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.invokeGL(WindowsOnscreenGLContext.java:79)
at net.java.games.jogl.GLCanvas.withSingleThreadedWorkaroundDo(GLCanvas.java:228)
at net.java.games.jogl.GLCanvas.swapBuffers(GLCanvas.java:187)
at org.j3d.aviatrix3d.surface.SimpleAWTSurface.swap(SimpleAWTSurface.java:405)
at org.j3d.aviatrix3d.pipeline.DefaultRenderPipeline.swapBuffers(DefaultRenderPipeline.java:174)
at org.j3d.aviatrix3d.pipeline.SingleThreadRenderManager.run(SingleThreadRenderManager.java:726)
at java.lang.Thread.run(Thread.java:534)

Somebody can help me?

You need to make sure you have stopped all OpenGL rendering before shutting down your application to avoid this exception. See the JOGL demos and in particular the use of Animator.stop().

Hello; I am using Xj3D in my application of Java, and when I close the application is then when it happens the error. I can use Animator.stop()? I am not very safe of being able to use.
Thanks to help me.

Try asking on the Xith3D forum.