GLJPanel problems on Ubuntu.

Hi all!

I have big troubles with GLJPanel on Ubuntu 8.10, Java 6 Update 10, JOGL 1.1.1. My OpenGL version is 1.4 Mesa 7.2 and I have MacBook with Intell X3100 integrated video (Intel 965GM Chipset).

The problem is that when I try to use GLJPanel instead of GLCanvas I obtain some strange pictures, but not my 3D scene. Just simple example:

http://img24.imageshack.us/img24/6848/77033784bh3.th.png

With GLCanvas all works fine. >:(

By the way, which of this component is commonly used?

Don’t you have some exceptions thrown when using GLJPanel?

Actually, Intel graphic cards and GLJPanel don’t get along very well.
I advise you to use the GLCanvas if possible. With the latest JDK revision (Java 6 update 12) , it is possible to mix (in some limited way though) Swing and AWT components.
I tried a little and it seems to work quite well.

gibe, thanks for the reply!

No.

There are some other problems with GLCanvas. My scene is rendering in a different way with GLCanvas in Linux as compared with Mac OS. :o

Now I’m looking upon Qt as an general solution. :slight_smile: