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.

Bug 77339 - The GUI Builder not reender JTabbedPane correctly
Summary: The GUI Builder not reender JTabbedPane correctly
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-02 22:46 UTC by dyegoleal
Modified: 2007-11-14 14:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dyegoleal 2006-06-02 22:46:17 UTC
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.
Comment 1 dyegoleal 2006-06-07 23:53:15 UTC
any answer ?
somebody help ?
Comment 2 Martin Adamek 2006-06-08 06:19:53 UTC
I am sorry, must be solved by form editor guys.
Comment 3 Tomas Pavek 2006-06-08 10:37:31 UTC
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
Comment 4 dyegoleal 2006-06-08 12:10:21 UTC
Exists a possibility to port this correct code to Nb 5.5 dev ?
Comment 5 dyegoleal 2006-06-08 12:31:05 UTC
Exists a possibility to port this correct code to Nb 5.5 dev ?
Comment 6 Tomas Pavek 2006-07-04 11:03:26 UTC
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
Comment 7 Jiri Vagner 2007-11-14 14:50:17 UTC
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.;