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 13554 - Firing of property changed event should be conditional.
Summary: Firing of property changed event should be conditional.
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Beans (show other bugs)
Version: 3.x
Hardware: PC All
: P4 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-07-12 10:30 UTC by Petr Slegr
Modified: 2010-09-23 08:29 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Slegr 2001-07-12 10:30:08 UTC
When bounded property is generated property change event should be fired only 
when old value and new one are different. So following code should be generated:

public void setX (int x) {
if (x != this.x) {
 // old value storing
 // event firing
}
}
Comment 1 Jan Chalupa 2001-11-27 10:55:34 UTC
Target milestone -> 3.3.1.
Comment 2 Svata Dedic 2002-05-21 17:02:00 UTC
Cleaning up
Comment 3 Marek Grummich 2002-07-19 17:08:18 UTC
Target milestone was changed from not determined to TBD