Re: JOGL components not displaying with some combination of GridBagConstraints
Posted by medphyspl on Oct 07, 2015; 12:20pm
URL: https://forum.jogamp.org/JOGL-components-not-displaying-with-some-combination-of-GridBagConstraints-tp4035429p4035431.html
No the same effect is observed. I notice that modifying the GridBagConstraints of the GL component with
gbc.fill = GridBagConstraints.NONE;
gbc.anchor= GridBagConstraints.CENTER;
I get noimage but with
gbc.fill = GridBagConstraints.BOTH;
gbc.anchor= GridBagConstraints.CENTER;
I get an image
and with
gbc.fill = GridBagConstraints.NONE;
gbc.anchor= GridBagConstraints.LINE_START;
I get noimage.