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.
When adding setters (either via Encapsulate Field or Generate Setter), optionally add a call to firePropertyChange. Possibly add the call commented out, then the user can uncomment it if desired.
fixed in 6.1
I'm using NetBeans IDE 6.1 (Build 200804211638) and using 'Insert code...' -> 'Generate Setter...' doesn't allow me to choose to add a call to firePropertyChange. It's the same using 'Refactor' -> 'Encapsulate Field...'. However using 'Insert code...' -> 'Add property...' allow me to add a call to firePropertyChange. I think it should be possible to have this option in 'Generate Setter...' and in 'Encapsulate Field...' too.
The same would be useful for "Create Entity Classes from Database". When creating a default DB application using the wizard, the propertychangesupport is generated. However, later adding a new table with entity to the project will not create the required code and it has to be entered manually.