Apologies if I'm missing something silly... but I'm experimenting with NetBean's WYSIWYG Swing GUI builder, and am having some issues with GridBagLayout.
When writing a Swing application from scratch, I'll typically establish the column and row weights in one fell swoop at the time I first declare the layout. Something like this:
final JPanel myContainer = new JPanel();
GridBagLayout gbl = new GridBagLayout();
gbl.columnWeights = new double[]{0.0f, 0.0f, 1.0f};
gbl.rowWeights = new double[]{0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f};
myContainer.setLayout(gbl);
However, when using the NetBeans WYSIWYG builder, I haven't found a clean way to access my GridBayLayout's "columnWeights" and "rowWeights" member variables. How do developers go about doing this with the NetBeans builder?