Error Jogl/jogl2 and java6 update 14

HI all,

Ive been asking around on this issue with no luck!

I have a 3D scene (GLCanvas) added in the center of a layout using JIDE. The problem rises on a jre version 6 update 14 and above:

When the scene is docked the canvas is grey (not background color). when un docked the scene is shown again.

When i revert back to a java version update 13 and lower it works fine?

Im really stuck on this, any help is highly appreciated! :persecutioncomplex:

I tried this on jogl 2 with java6 update 14 and still the same problem appears. The scene is not being initialized.

Any ideas

I tried with it again, the scene is intializing and the gleventlistener is being caled for init and display but it seems to be hidden under the component (cuz the canvas is grey always which is not even the background color)

i guess removing the component draw will solve it, any idea on how to do that.

The grey color im guessing comes from the awt component!

I’ve got the same problem.

If I add the GLCanvas to a Frame rather than a JFrame, it works OK, but that’s not what I want.

Did you try using a GLJPanel with a JFrame?

that works but only with java6u14 and above im getting this problem

A GLJPanel with A JFrame works for me, but causes other problems with my app (probably timing related bugs in my code).

However, I’m not very happy with the performance implications of using a GLJPanel anyhow.

Rob

You have to create a subclass and override the draw methods.

From my own testing, you can safely override display but overriding paint prevents the GLCanvas from functioning.

I don’t recommend using GLJPanel. I’ve gotten comparable performance using software rendering.