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 5657

Summary: Difficult to add components to BoxLayout that contains JPanels
Product: guibuilder Reporter: _ tboudreau <tboudreau>
Component: CodeAssignee: _ ttran <ttran>
Status: CLOSED FIXED    
Severity: normal    
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description _ tboudreau 2000-02-07 20:16:40 UTC
Add a JPanel to a BoxLayout.  Now try to add another component to the Form, not the JPanel.

Possible solution:  Could the form editor track the selected component in the Component inspector, so that if the parent form is explicitly selected, it is the target of the add()?
Comment 1 Tomas Pavek 2000-07-21 13:50:59 UTC
Or components could be added directly to the component inspector (to selected
container). Now they can be only pasted...
Comment 2 Marek Grummich 2000-07-25 09:08:59 UTC
Priority is changed to P4 (normal).
Comment 3 Tomas Pavek 2001-02-23 17:46:55 UTC
Fixed - selected container (to which new component is being added) can 
be "locked" by holding Ctrl or Alt key when doing the add-click.
Comment 4 Marian Mirilovic 2001-02-23 17:51:50 UTC
verified in [nb-dev](132), [pilsen](010222)
Comment 5 Quality Engineering 2003-06-30 18:28:12 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.