Login  Register

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

Posted by dave_xenos on May 22, 2015; 7:54am
URL: https://forum.jogamp.org/JOGL-netbeans-gui-builder-how-to-properly-show-a-GLcanvas-tp4034496p4034505.html

Yes, I do add some codes after the call of initComponents(). I think it's fine that way it is now.
Just to make it clear, I'm abandoning that old plugin. I'm not looking for a way to recreate/update the plugin. I design frames using manual code addition together with Matisse now.
That makes me wonder, how do you guys design a frame that has multiple awt/swing component AND JOGL component (GLCanvas or JPanel) in it? Eclipse? Or just textual coding (I kinda feel like a rookie here)?

Anyway, I do the command to create and set visible the JFrame at main() method (which is considered the initial thread?).
Doing these command using java.awt.EventQueue.invokeLater always messes things up (either it freeze for some time or a blank canvas).