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 114306 - Component area in FrameView is not updated correctly
Summary: Component area in FrameView is not updated correctly
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: App Framework (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-31 07:49 UTC by Jiri Vagner
Modified: 2007-09-27 13:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Vagner 2007-08-31 07:49:14 UTC
After setting new component for FrameView via Properties view, designer is still displaying old component. Preview of
frame or executed app is ok. Switching from design to source and back does not help.

Steps to reproduce:
 - create java desktop basic project
 - add new panel into "Other components" area (I think that Other components nodes should be there :) )
 - doubleclick on new panel node in Inspector and add there label with sample text
 - doubleclick on  [FrameView] node to design whole frame
 - go to Properties view and change "component" value to new panel with sample text -> new panel with sample text is not
displayed
 - invoke preview of form -> sample text is displayed
 - switch from design view into source and back -> no sample text
 - in Inspector doubleclick on jMenuBar component and then doubleclick FrameView node -> new panel is displayed

Product Version: NetBeans IDE Dev (Build 200708300413)
Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04
System: Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb)
Comment 1 Tomas Pavek 2007-09-17 14:26:58 UTC
Fixed.

/cvs/form/swingapp/src/org/netbeans/modules/swingapp/ViewConverterImpl.java
new revision: 1.4; previous revision: 1.3
Comment 2 Jiri Vagner 2007-09-27 13:49:07 UTC
Verified

Product Version: NetBeans IDE Dev (Build 20070927012459)
Java: 1.6.0_03-ea; Java HotSpot(TM) Client VM 1.6.0_03-ea-b01
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)