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 186581

Summary: [69cat][guibuilder] When adding a second check box to a single line, all lines compress in width.
Product: guibuilder Reporter: esmithbss <esmithbss>
Component: Natural LayoutAssignee: issues@guibuilder <issues>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 136425    
Attachments: Pre-adding second check-box
Post adding second check-box
Tar-GZip of project just prior to adding the second check box.

Description esmithbss 2010-05-24 08:06:56 UTC
Product Version = NetBeans IDE Dev (Build 201005192201)
Operating System = Linux version 2.6.32-22-generic running on i386
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) Client VM 16.3-b01

When adding a second check box with a left side aligned with the center mark of the widget on the line above, and a check-box previously aligned with the right hand boundary of the above widget, the entire form will compress in size.

See Screenshots.
Comment 1 esmithbss 2010-05-24 08:08:50 UTC
Created attachment 99371 [details]
Pre-adding second check-box
Comment 2 esmithbss 2010-05-24 08:09:22 UTC
Created attachment 99372 [details]
Post adding second check-box
Comment 3 Tomas Pavek 2010-05-24 08:51:51 UTC
Any chance to attach the GUI form here? Best if in the state of the first screenshot where the bug can be reproduced by adding the checkbox. That would make a clearly reproducible test case, much easier to fix. Thanks.
Comment 4 esmithbss 2010-05-24 18:09:43 UTC
Created attachment 99404 [details]
Tar-GZip of project just prior to adding the second check box.
Comment 5 esmithbss 2010-05-24 18:10:23 UTC
The project is built on the Building a Java Database Application tutorial.  This project is graphically equivalent to completion through "Adding Additional Contols" step 6 with or without the binding creation on the tire size and modernness scroll bars.

Add the next check button so that the alignment cross hairs are vertically on the left edge of the New button and horizontally inline with the bottom of the existing check box for Spoiler.
Comment 6 Jan Stola 2011-10-20 12:55:22 UTC
I am able to reproduce this problem in NetBeans 7.0.1, but the same test-case works fine in the latest development build. So, the problem was fixed by the recent fixes in Free Design.

Note that it is not possible to open the attached test-case in NetBeans 7.1 because NetBeans support of Swing Application Framework has been discontinued. On the other hand, it is possible to copy the layout of the problematic container into another form (in NetBeans 7.0.1) and reproduce the problem there. This form can be used then to verify that the problem is fixed in NetBeans 7.1.