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 new form 2) Set its layout to BorderLayout 3) Drag'n'Drop new panel to the form 4) Drag'n'Drop another panel on top of the previous panel 5) In inspector, move the second panel to the form 6) Click in the form - the first panel gets selected (it takes the whole space though there are now 2 panels) 7) Try to drag it somewhere - three AIOOBEs are thrown: java.lang.ArrayIndexOutOfBoundsException: 1 at org.netbeans.modules.form.layoutsupport.delegates.BorderLayoutSupport.paintDragFeedback(BorderLayoutSupport.java:243) at org.netbeans.modules.form.layoutsupport.LayoutSupportManager.paintDragFeedback(LayoutSupportManager.java:698) at org.netbeans.modules.form.ComponentDragger.paintDragFeedback(ComponentDragger.java:144) ... NetBeans IDE Dev (Build 200705281800) 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 Windows Vista version 6.0 running on x86 en_GB (nb); Cp1252
Created attachment 42958 [details] Exception Stacktrace
I'm trying with newest dev build and see no such problems (the second panel has some size after dragged in Inspector and there's no exception). Probably already fixed.
I didn't succeed in reproducing either - verified.