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 1384

Summary: Better bean support in Netbeans - suggestion
Product: ide Reporter: Jan Palka <janpalka>
Component: CodeAssignee: support <support>
Status: CLOSED INVALID    
Severity: normal    
Priority: P3    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jan Palka 1999-03-26 23:35:03 UTC
It would be nice if the tool would recognize adding
PropertyChangeListeners via
addPropertyChangeListener(String property, PropertyChangeListener

listener) in
addition to the simpler form (without the property name).  This would be
handy if you`ve got a bean with several bound properties and want to
attach listeners specific to each property using the tool.

[addPropertyChangeListener(String,PropertyChangeListener) is not a standard design pattern for JavaBeans, the builder should not look for nonstandard extensions. Developers should add one listener (or
 several) that checks the property name. This is the design of how JavaBeans work.]