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 - Wrong structure of inspector tree while designing ShellView in Desktop App
Summary: Wrong structure of inspector tree while designing ShellView in Desktop App
Status: RESOLVED INVALID
Alias: None
Product: guibuilder
Classification: Unclassified
Component: App Framework (show other bugs)
Version: 6.x
Hardware: All Linux
: P4 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-22 10:42 UTC by Jiri Vagner
Modified: 2008-06-16 13:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
107785.png (22.57 KB, image/png)
2007-06-22 10:45 UTC, Jiri Vagner
Details

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