JSR-231and GLCanvas

Hi,

I’ve downloaded the last build (11/11) of JOGL. But i’ve a problem with GLCanvas. So i downloaded the demo’s source of Gears, and the problem was the same.
Here’s the line :

GLCanvas canvas = GLDrawableFactory.getFactory().createExternalGLDrawable();

I’ve replaced it by a simple GLCanvas canvas = new GLCanvas(); and that’s work !

Is it a nightly change in the JSR-231 ?

Thanks.

Yes. The expert group decided on the recommendation and request of several people to decouple the creation of GLCanvas and GLJPanel widgets from the GLDrawableFactory, mainly to make the GLDrawableFactory more toolkit-independent.