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.
found while trying to evaluate issue 167026 ... NB 6.7 RC3, JDK6u14 64b and Ubuntu 9.04 64b - run IDE with new userdir - create J2SE Project - create package FD - create new "Bean Form" - extend javax.swing.JComboBox -> name MyComboBox (change background to green) - compile this file - created new JFrame in another package - added MyComboBox into JFrame in design mode - refactored FD packge to FieldData - tried to open JFrame in design mode -> design Error dialog risen ... so compiled MyComboBox once again - changed background to blue - compile MyComboBox - added another MyComboBox into JFrame -> see attached screenshot (there is evident difference ... and incorrect background shows in design mode, as well as in preview ... in comparison to Running frame)
Created attachment 83544 [details] screenshot
The described behaviour is as designed. The form is not reloaded everytime some class (used by the designer) changes. When a component is added then a most recent class is used to create a new instance. When a preview is created then a new class is not loaded - the existing instance is cloned. The user can always reload the form (using Reload Form action on the root node in Inspector window) or close/reopen it when (s)he would like to force form-reload.
v/c