Error executing JGears demo

When running the jgears demo I get the following error :

DRAWABLE GL IS: net.java.games.jogl.impl.windows.WindowsGLImpl
DRAWABLE GLU IS: net.java.games.jogl.impl.GLUImpl
net.java.games.jogl.GLException: Unable to set pixel format
        at net.java.games.jogl.impl.windows.WindowsGLContext.choosePixelFormatAndCreateContext(WindowsGLContext.java:493)
        at net.java.games.jogl.impl.windows.WindowsOffscreenGLContext.create(WindowsOffscreenGLContext.java:181)
        at net.java.games.jogl.impl.windows.WindowsGLContext.makeCurrent(WindowsGLContext.java:135)
        at net.java.games.jogl.impl.windows.WindowsOffscreenGLContext.makeCurrent(WindowsOffscreenGLContext.java:128)
        at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:254)
        at net.java.games.jogl.GLJPanel.reshape(GLJPanel.java:131)
        at java.awt.Component.setBounds(Component.java:1664)
        at java.awt.BorderLayout.layoutContainer(BorderLayout.java:691)
        at java.awt.Container.layout(Container.java:1020)
        at java.awt.Container.doLayout(Container.java:1010)
        at java.awt.Container.validateTree(Container.java:1092)
        at java.awt.Container.validate(Container.java:1067)
        at java.awt.Window.show(Window.java:461)
        at demos.jgears.JGears.main(JGears.java:35)

I have downloaded v1.1.5, and my own programs works fine. Can anyone help?

Have you tried the 1.1 b05 build in the Documents & files section of the JOGL web page?

The GLJPanel may have bit-rotted somewhat; I can’t get it to work right now on my desktop GeForce system. Sorry about that – please feel free to file a bug. If a GLCanvas will serve your needs, please use it as a workaround.

Hi!

I had the same problem today and setting setDoubleBuffered of the GLCapabilities to false worked:

GLCapabilities glCaps = new GLCapabilities();
glCaps.setDoubleBuffered(false);
GLJPanel drawable = GLDrawableFactory.getFactory().createGLJPanel(glCaps);

BUT in constrast to the Canvas version this one is very, very slow if you resize the window to fullscreen.
(Did you find a usefull solution for using GLJPanel?)

Henry