Login  Register

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

Posted by gouessej on May 21, 2015; 7:37am
URL: https://forum.jogamp.org/JOGL-netbeans-gui-builder-how-to-properly-show-a-GLcanvas-tp4034496p4034503.html

Actually, even Netbeans 8 Matisse GUI builder produces poor Swing code with tons of warnings. You can override initComponents() to add the JOGL windows and canvas without using the GUI builder, it doesn't prevent you from using it for the rest of the GUI.

In my humble opinion, as nobody wants to maintain the Netbeans OpenGL pack, don't use it.

It's fine to remove java.awt.EventQueue.invokeLater if you're sure you're already on the AWT EDT when you need it.
Julien Gouesse | Personal blog | Website