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.
Entering this for external customer from the Sun Developer Expert Assistance program: Reproducible in Netbeans 6.5 The customer is following the below tutorial: http://wiki.netbeans.org/NetBeansJavaBeansTutorial unzip the PersonBean.zip - Open the PersonBean project in NetBeans - Clean & Build the project - Add "PersonBean" to the NetBeans palette via the Palette Manager - Create a new Java Desktop Application in NetBeans - Select the Application view (GUI builder design mode) - Drag & drop the PersonBean from the palette on to the application - Select the "Address" property from the Property sheet via the ... - in the custom property editor, enter an address (123 Main Street, San Francisco, CA) - Save the project - clean & build - Exit NetBeans - Restart NetBeans - Open the Java Desktop Application - Select on the instance of the PersonBean - Notice the "Address" property is not populated with the address entered previously. - Look at the source "tab", the address property is set correctly in the code but not in the property sheet.
Created attachment 85716 [details] attached Project
Created attachment 85717 [details] Attached Java Desktop Application
Note that the mentioned tutorial is a 'work in progress'. It is incomplete and there are some bugs. For example, AddressBeanPropertyEditor and AddressBeanEditorPanel are completely wrong. The PropertyEditor should fire PropertyChangeEvents whenever the property value changes. The attached implementation of AddressBeanPropertyEditor doesn't fire any changes. It modifies the value in getValue() instead. This is incorrect. AddressBeanEditorPanel should listen on changes of its JTextFields, create a new instance of AddressBean for every change and set it to AddressBeanPropertyEditor using setValue() (this will generate a corresponding PropertyChangeEvent).