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.
NB 4.1 (200505031930) JDK 1.5.0_03 IAE thrown when cut and paste 3 buttons out of the subpanel to main panel and then pressing undo steps: 1) crate new jFrame with FlowLayout 2) add JPanel 3) to the JPanel add 3 JButtons 4) select all buttons 5) press ctrl-x 6) click on the main frame (to get focus) 7) press ctrl-v -> the button are cut&pasted to the main container 8) press undo -> IAE thrown: java.lang.IllegalArgumentException: illegal component position at java.awt.Container.addImpl(Container.java:999) at java.awt.Container.add(Container.java:390) at org.netbeans.modules.form.layoutsupport.AbstractLayoutSupport.addComponentsToContainer(AbstractLayoutSupport.java:544)
Created attachment 22568 [details] Exception
The exception is not thrown in the latest builds => marking as fixed.
verified