Login  Register

Re: JOGL & netbeans gui builder (how to properly show a GLcanvas?)

Posted by dave_xenos on May 20, 2015; 9:24am
URL: https://forum.jogamp.org/JOGL-netbeans-gui-builder-how-to-properly-show-a-GLcanvas-tp4034496p4034501.html

The reason I want to use the GUI builder is because I often design a frame that has a lot of component other than the GLCanvas. There may be some jbuttons, jlabels, jtextfields, etc. Using just text code to design the frame is very inefficient.

The old plugin is using JOGL version 1.1.1a actually. That's beyond old, which is why I'm looking for a way to ditch it.

I've read some of JOGL examples and I found a code that do show the JFrame without using invokeLater. So I'm guessing it's fine to remove that "java.awt.EventQueue.invokeLater"?
Although I'm still unsure that one time when I get a frame with zero height. It seems I can't reproduce the case again.
Again, thanks for the replies.