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.
The GUI Builder not add JPanel on JTabbedPane if you select "SCROLL_TAB_LAYOUT" on TabLayoutPolicy property To reproduce the bug is very simple, just add a JTabbedPane on JForm , change TabLayoutPolicy property to "SCROLL_TAB_LAYOUT" and go to add a JPanel... You will see that the GUI builder does nothing.
any answer ? somebody help ?
I am sorry, must be solved by form editor guys.
Thanks for finding this bug. I've just fixed in dev trunk of NB 6.0. As a workaround, don't set SCROLL_TAB_LAYOUT policy in the GUI builder, but write the code manually in the constructor (after initComponents() call). /cvs/form/src/org/netbeans/modules/form/layoutsupport/delegates/JTabbedPaneSupp ort.java new revision: 1.16; previous revision: 1.15
Exists a possibility to port this correct code to Nb 5.5 dev ?
Integrated to 5.5. /cvs/form/src/org/netbeans/modules/form/layoutsupport/delegates/JTabbedPaneSupport.java new revision: 1.12.204.1.2.2; previous revision: 1.12.204.1.2.1
Verified Product Version: NetBeans IDE 6.0 RC1 (Build 200711131200) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb) NetBeans IDE 5.5 (Build 200610171010) Windows XP version 5.1 running on x86 JAVA 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05; Sun Microsystems Inc.;