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 63955

Summary: AIOOBE - move button to toolbar
Product: guibuilder Reporter: Marek Grummich <mgrummich>
Component: Natural LayoutAssignee: issues@guibuilder <issues>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Exception
TestFrame.form
TestFrame.java

Description Marek Grummich 2005-09-09 09:49:46 UTC
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)
Comment 1 Marek Grummich 2005-09-09 09:50:17 UTC
Created attachment 24652 [details]
Exception
Comment 2 Marek Grummich 2005-09-09 09:50:41 UTC
Created attachment 24653 [details]
TestFrame.form
Comment 3 Marek Grummich 2005-09-09 09:50:56 UTC
Created attachment 24654 [details]
TestFrame.java
Comment 4 Jan Stola 2005-09-12 14:10:40 UTC
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.
Comment 5 Marek Grummich 2005-10-25 14:11:03 UTC
Verified - build 200510241800
Comment 6 Jan Stola 2006-09-04 17:07:52 UTC
*** Issue 74159 has been marked as a duplicate of this issue. ***