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.
Build: NetBeans IDE 6.9 (Build 201007282301) VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02 OS: Linux Stacktrace: java.lang.IllegalArgumentException: Cannot add a component into a group twice! at org.netbeans.modules.form.layoutdesign.LayoutInterval.add(LayoutInterval.java:455) at org.netbeans.modules.form.layoutdesign.LayoutModel.addInterval(LayoutModel.java:324) at org.netbeans.modules.form.layoutdesign.LayoutOperations.optimizeGaps(LayoutOperations.java:1037) at org.netbeans.modules.form.layoutdesign.LayoutFeeder.addInterval(LayoutFeeder.java:795) at org.netbeans.modules.form.layoutdesign.LayoutFeeder.add(LayoutFeeder.java:314) at org.netbeans.modules.form.layoutdesign.LayoutDesigner.addComponents(LayoutDesigner.java:828)
Created attachment 101500 [details] stacktrace
Will try to fix, but would be great if you could provide a sample form and exact steps to reproduce - only then the fix can be properly verified. Thanks.
Created attachment 101563 [details] test case Here is the test case from the reporter. Open the form (ignore errors) and try to resize jTextField1 by its right edge.
Fixed in 7.1 - Free Design improvements
Product Version: NetBeans IDE Dev (Build 201110040601) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 System: Linux version 2.6.38-11-generic running on i386; UTF-8; en_US (nb)