Login  Register

Re: Resize of a JCanvas3D

Posted by Andreas on Jan 18, 2013; 8:01pm
URL: https://forum.jogamp.org/Resize-of-a-JCanvas3D-tp4027842p4027936.html

I found the answer for the GLCanvas problem. There is an if statement "Beans.isDesignTime()" in line 1086 of the GLCanvas which was true for my Netbeans runs and the GUIBuilder. So it returns a null AWTGraphicsConfiguration for the chooseGraphicsConfiguration method. If I set Beans.setDesignTime(false); before the GLCanvas is started everything works fine.

So the answer for the resize test is Canvas3D is resized correctly, GLCanvas is resized correctly but the JCanvas3D not.

Andreas