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 69655

Summary: copying a bean in the inspector gives confusing name for PropertyChangeListener method
Product: guibuilder Reporter: johnstosh <johnstosh>
Component: CodeAssignee: issues@guibuilder <issues>
Status: NEW ---    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description johnstosh 2005-11-30 21:43:17 UTC
Copying a bean in the inspector gives confusing name for 
PropertyChangeListener method.

Say I have a panel with a bean named settle1 (obviously the class is Settle).
If I copy and paste that in the Inspector, then I get a settle2.
So far so good, but if there was a PropertyChangeListener on settle1 named 
settle1PropertyChange() then the creation of settle2 causes the creation of a 
PropertyChangeListener, which is great -- but it gets named 
settle1PropertyChange1() -- which is unfortunate.  Wouldn't you rather have it 
named settle2PropertyChange() ??