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 107785

Summary: Wrong structure of inspector tree while designing ShellView in Desktop App
Product: guibuilder Reporter: Jiri Vagner <jvagner>
Component: App FrameworkAssignee: issues@guibuilder <issues>
Status: RESOLVED INVALID    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: 107785.png

Description Jiri Vagner 2007-06-22 10:42:07 UTC
In opened ShellView.java file from JDA Basic project there are 3 components - mainPanel, menuBar and statusPanel. These
components belong to SingleFrameApplicationView, so I think these componenst should be rendered as subnodes of
[SingleFrameApplicationView] in Inspector tree.


Steps to reproduce:
 - create new Java Desktop Application project with basic shell
 - open ShellView.java file
 - check the content of Inspector window


Product Version: NetBeans IDE Dev (Build 200706220441)
Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04
System: Linux version 2.6.17-10-386 running on i386; UTF-8; en_US (nb)
Comment 1 Jiri Vagner 2007-06-22 10:45:36 UTC
Created attachment 44246 [details]
107785.png
Comment 2 Jan Stola 2008-06-16 13:33:44 UTC
The mentioned components (mainPanel, menuBar and statusPanel) are displayed in the FrameView, but this is an 
implementation detail of FrameView. FrameView has component, statusBar and menuBar properties. These properties (when 
set) represent components that are shown in FrameView e.g. these components doesn't have FrameView as its parent (on 
form model level) e.g. no FrameView.add(menuBar) is generated in the code. Hence, Inspector window doesn't show them 
under FrameView node.