Hi Ken,
may I kindly ask you to review this post because it regards behaviour of JOGL-1.1-beta12.
I have tested my application under java versions 1.5.0-b64 and 1.6.0-ea-b34:
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)
java version "1.6.0-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b34)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b34, mixed mode, sharing)
As far as JOGL version is concerned I have tested my application with JOGL versions 1.1-beta11 and 1.1-beta12. The best results I receive is with combination of JOGL-1.1-beta11 and java 1.6.0-ea-b34.
Please let me explain my testing procedure. With JFileChooser I select a model which I want to see in GLJPanel object. If I use JOGL beta11 then under 1.5.0-b64 I see some flickering (problems with “gray rectangles”) but generally I could say that application works. As I’ve already said the best results I receive is with java version 1.6.0-ea-b34: no gray rectangles, smooth operation.
But if I use the latest JOGL 1.1 beta12 then I have some problems:
-
Under 1.5.0-b64 I could see only part of the model that means only part that was under JFileChooser object. The other part of the GLJPanel object is gray. If I want to see the whole 3D model I have to click inside of GLJPanel object.
-
I test my application also under 1.6.0-ea-b34. After I open my model with JFileChooser and put it into GLJPanel I see nothing - only gray rectangle. If I click inside this object it doesn’t help. Actually, my object doesn’t respond. I assume that constructor for my model has not run yet. I’ve found out that if want to see my 3D model then I have to move the JInternalFrame and at this time my model appears correctly inside internal frame.
Could it be that there is something wrong with my application? Should I redesign it? What has changed between beta11 and beta12? I hope you’ll find my report usefull. Please, let me know if you need any other information to resolve this problem.
Best regards,
Andrei