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.
I've created a PropertyEditorSupport derrived class to make it easy for me to edit the values of URIs in a bean. However, NetBeans does not seem to be able to retain the changes I make. I'm attaching the files I use for my example case. Basically, I create my property editor, my bean and a panel to use the bean in. I add my bean to the panel, and edit the value in the property inspector. While this does cause netbeans to write the generate the correct code in the initComponents() section, if I press Ctrl-R to reload the form, my changes are lost and the field in the property inspector coresponding to my property is set to the empty string. NetBeans seems to generally have poor support for Customizers and PropertyEditors. Does NetBeans not support these features, or is this a case of code drift making previously working features invalid?
Created attachment 27300 [details] source
Created attachment 27301 [details] source
Created attachment 27302 [details] source
Created attachment 27303 [details] source
Created attachment 27304 [details] source
Created attachment 27305 [details] source
there seems to be something wrong with the setValue(Object source) method in your URIPropertyEditor. could you, please, replace the line uri = (URI)uri; with uri = (URI)source; in public void setValue(Object source) { uri = (URI)uri; firePropertyChange(); } and try it again?