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 - AIOOBE - move button to toolbar
Summary: AIOOBE - move button to toolbar
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Natural Layout (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
: 74159 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-09 09:49 UTC by Marek Grummich
Modified: 2006-09-04 17:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (2.63 KB, text/plain)
2005-09-09 09:50 UTC, Marek Grummich
Details
TestFrame.form (4.48 KB, text/plain)
2005-09-09 09:50 UTC, Marek Grummich
Details
TestFrame.java (4.76 KB, text/plain)
2005-09-09 09:50 UTC, Marek Grummich
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***