This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hi, When I set the layout of a panel to gridbag the all code but the declaration of the gridbagConstraints is created. This is the code that was created: jLabel1.setText("ID:"); gridBagConstraints4 = new java.awt.GridBagConstraints(); gridBagConstraints4.gridx = 0; gridBagConstraints4.gridy = 0; gridBagConstraints4.insets = new java.awt.Insets(1, 1, 1, 1); gridBagConstraints4.anchor = java.awt.GridBagConstraints.EAST; tabCookies.add(jLabel1, gridBagConstraints4); this is what should have been created: jLabel1.setText("ID:"); java.awt.GridBagConstraints gridBagConstraints4; gridBagConstraints4 = new java.awt.GridBagConstraints(); gridBagConstraints4.gridx = 0; gridBagConstraints4.gridy = 0; gridBagConstraints4.insets = new java.awt.Insets(1, 1, 1, 1); gridBagConstraints4.anchor = java.awt.GridBagConstraints.EAST; tabCookies.add(jLabel1, gridBagConstraints4); Iwan
Form generators, it could be your problem. If not, please reassign it back. Thx.
Same as issue #10831, already fixed. *** This issue has been marked as a duplicate of 10831 ***
Resolved for 3.3.x or earlier, no new info since then -> closing.