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.
1) create a bean inherited from JPanel 2) set layout to GridBagLayout 3) add to Component palette 4) add this bean into a form (note: the Form Editor generate Class.setLayout not user) Build 501 is OK. Reported against 831 java.lang.Error: Do not use Test.setLayout() use Test.getContentPane().setLayout () instead at javax.swing.JFrame.createRootPaneException(JFrame.java:406) at javax.swing.JFrame.setLayout(JFrame.java:472) at org.netbeans.modules.form.compat2.layouts.DesignBorderLayout.setRADCo ntainer(DesignBorderLayout.java:106) at org.netbeans.modules.form.RADVisualContainer.setDesignLayout(RADVisua lContainer.java:93) at org.netbeans.modules.form.FormManager2$ManagerMouseAdapter.mouseRelea sed(FormManager2.java:1347) at org.netbeans.modules.form.FormManager2$MouseProcessor.mouseReleased(F ormManager2.java:939) at java.awt.Component.processMouseEvent(Component.java:3717) at java.awt.Component.processEvent(Component.java:3546) at java.awt.Container.processEvent(Container.java:1164) at java.awt.Component.dispatchEventImpl(Component.java:2595) at java.awt.Container.dispatchEventImpl(Container.java:1213) at java.awt.Component.dispatchEvent(Component.java:2499) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451 ) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216) ...
Priority is changed to P4 (normal).
Resolved for 3.3.x or earlier, no new info since then -> closing.