On Sunday, July 04, 2010 19:54:21 Hot-Chip [via jogamp] wrote:
>
> Hello, i have a little problem with jogl. I receive the error-message thats
> written in my topic subject for this line:
>
> GLCanvas canvas = GLDrawableFactory.getFactory().createGLCanvas( glCaps );
>
I don't know to which version of JOGL you are referring to,
but the current one is completly platform/os windowing toolkit agnostic.
The current GLDrawableFactory can only create a GLDrawable
based on a NativeWindow, which includes the capabilities and maybe on or offscreen.
http://jogamp.org/git/?p=jogl.git;a=blob;f=src/jogl/classes/javax/media/opengl/GLDrawableFactory.java;h=81c7d4b4a37633f72f7973b94f98f3daf62f8a06;hb=HEAD#l195> I installed/set up my jogl by changing the CLASSPATH and PATH variables. Is
> it possible that this problem occurs because i set up jogl in the wrong way?
> Importing Classes works fine with this line for example:
>
> Import javax.media.opengl.*;
>
> Maybe it's a common problem and you can help me. :)
It's your use of the API, ie what you try to use doesn't exist (any more - maybe).
>
> English isn't my motherlanguage, so if something seems to be wired i try to
> explain it in another way.
Your english is just fine, np.
Please check the current API,
the jogl-demos and maybe you want to have a look at Michael's JOGL -> JOGL2 conversion guide,
looks at his blog.
~Sven
>
> greetings