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 050909, jdk1.5.0_04 Steps: - open an attached form - add a new JButton to the JFrame - use D&D functionality to move JButton to toolbar, position - in front of JButton1 => an attached exception is thrown (repeatedly - P1)
Created attachment 24652 [details] Exception
Created attachment 24653 [details] TestFrame.form
Created attachment 24654 [details] TestFrame.java
The exception is caused by a bug in JDK (namely in BoxLayout). See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4294758 I have implemented a workaround. So, the exception shouldn't be thrown by now. I will pass this test case to the Swing team.
Verified - build 200510241800
*** Issue 74159 has been marked as a duplicate of this issue. ***