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 63717 - NPE while fiddling with JSplitPane containment hierarchy.
Summary: NPE while fiddling with JSplitPane containment hierarchy.
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Natural Layout (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-06 15:39 UTC by ametzger
Modified: 2005-09-08 13:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (22.50 KB, text/plain)
2005-09-06 15:40 UTC, ametzger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ametzger 2005-09-06 15:39:48 UTC
Using 5-Sep-2005 daily build.

Create new Java Application.

Add new JFrame form.

Drag two JTextField components onto JFrame.

In inspector window, select JFrame and add JSplitPane.

In inspector window, drag each JTextField from under JFrame node to be under
JSplitPane node.

In inspector window, right click on JSplitPane to add JPanel.  So, now
JSplitPane is holding three children.

In inspector window, try to drag one of the two JTextField components to be
under the just added JPanel.  An NPE occurs.
Comment 1 ametzger 2005-09-06 15:40:21 UTC
Created attachment 24545 [details]
messages.log
Comment 2 Jan Stola 2005-09-08 13:54:21 UTC
Fixed.