<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: JavaBeans PropertyChangeSupport Trick</title>
	<atom:link href="http://stuffthathappens.com/blog/2007/12/15/javabeans-propertychangesupport-trick/feed/" rel="self" type="application/rss+xml" />
	<link>http://stuffthathappens.com/blog/2007/12/15/javabeans-propertychangesupport-trick/</link>
	<description>Technology and Geek Stuff by Eric Burke</description>
	<lastBuildDate>Sat, 27 Feb 2010 14:52:46 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Thasso</title>
		<link>http://stuffthathappens.com/blog/2007/12/15/javabeans-propertychangesupport-trick/comment-page-1/#comment-23110</link>
		<dc:creator>Thasso</dc:creator>
		<pubDate>Wed, 01 Oct 2008 17:34:09 +0000</pubDate>
		<guid isPermaLink="false">http://stuffthathappens.com/blog/2007/12/15/javabeans-propertychangesupport-trick/#comment-23110</guid>
		<description>I have written a small plugin taht you can use to generate bound getters/setters in eclipse. 

http://java.randgestalten.de/?p=10</description>
		<content:encoded><![CDATA[<p>I have written a small plugin taht you can use to generate bound getters/setters in eclipse. </p>
<p><a href="http://java.randgestalten.de/?p=10" rel="nofollow">http://java.randgestalten.de/?p=10</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://stuffthathappens.com/blog/2007/12/15/javabeans-propertychangesupport-trick/comment-page-1/#comment-9922</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Tue, 29 Apr 2008 19:03:39 +0000</pubDate>
		<guid isPermaLink="false">http://stuffthathappens.com/blog/2007/12/15/javabeans-propertychangesupport-trick/#comment-9922</guid>
		<description>I made a quick post at my blog on how to automate adding these things in eclipse with this technique:

http://www.weheartcode.com/2008/04/29/easily-add-propertychangesupport-to-beans-in-eclipse/</description>
		<content:encoded><![CDATA[<p>I made a quick post at my blog on how to automate adding these things in eclipse with this technique:</p>
<p><a href="http://www.weheartcode.com/2008/04/29/easily-add-propertychangesupport-to-beans-in-eclipse/" rel="nofollow">http://www.weheartcode.com/2008/04/29/easily-add-propertychangesupport-to-beans-in-eclipse/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paulo</title>
		<link>http://stuffthathappens.com/blog/2007/12/15/javabeans-propertychangesupport-trick/comment-page-1/#comment-3249</link>
		<dc:creator>Paulo</dc:creator>
		<pubDate>Tue, 18 Dec 2007 23:56:14 +0000</pubDate>
		<guid isPermaLink="false">http://stuffthathappens.com/blog/2007/12/15/javabeans-propertychangesupport-trick/#comment-3249</guid>
		<description>I must say that this project reCaptcha is very, very interesting. Finally a positive justification for spam. 

...

Put down those pitchforks, i&#039;m leaving.</description>
		<content:encoded><![CDATA[<p>I must say that this project reCaptcha is very, very interesting. Finally a positive justification for spam. </p>
<p>&#8230;</p>
<p>Put down those pitchforks, i&#8217;m leaving.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paulo</title>
		<link>http://stuffthathappens.com/blog/2007/12/15/javabeans-propertychangesupport-trick/comment-page-1/#comment-3248</link>
		<dc:creator>Paulo</dc:creator>
		<pubDate>Tue, 18 Dec 2007 23:52:26 +0000</pubDate>
		<guid isPermaLink="false">http://stuffthathappens.com/blog/2007/12/15/javabeans-propertychangesupport-trick/#comment-3248</guid>
		<description>And classes that redefine the == operator. This means Strings and ... BigInteger, Double ...?</description>
		<content:encoded><![CDATA[<p>And classes that redefine the == operator. This means Strings and &#8230; BigInteger, Double &#8230;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paulo</title>
		<link>http://stuffthathappens.com/blog/2007/12/15/javabeans-propertychangesupport-trick/comment-page-1/#comment-3246</link>
		<dc:creator>Paulo</dc:creator>
		<pubDate>Tue, 18 Dec 2007 23:50:36 +0000</pubDate>
		<guid isPermaLink="false">http://stuffthathappens.com/blog/2007/12/15/javabeans-propertychangesupport-trick/#comment-3246</guid>
		<description>This is neat, i thought that methods first collected all the arguments references into an intermediary structure and called the method &quot;atomically&quot;. Is this specified by the Java Virtual Machine? Can it be JVM dependent?

On second thought even so this makes sense, since what is passes is a &quot;reference&quot;. Cool anyway.

Also i don&#039;t think direct comparison will work for non final and non cached classes. Just IMNHO.</description>
		<content:encoded><![CDATA[<p>This is neat, i thought that methods first collected all the arguments references into an intermediary structure and called the method &#8220;atomically&#8221;. Is this specified by the Java Virtual Machine? Can it be JVM dependent?</p>
<p>On second thought even so this makes sense, since what is passes is a &#8220;reference&#8221;. Cool anyway.</p>
<p>Also i don&#8217;t think direct comparison will work for non final and non cached classes. Just IMNHO.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danno Ferrin</title>
		<link>http://stuffthathappens.com/blog/2007/12/15/javabeans-propertychangesupport-trick/comment-page-1/#comment-3234</link>
		<dc:creator>Danno Ferrin</dc:creator>
		<pubDate>Tue, 18 Dec 2007 20:55:22 +0000</pubDate>
		<guid isPermaLink="false">http://stuffthathappens.com/blog/2007/12/15/javabeans-propertychangesupport-trick/#comment-3234</guid>
		<description>An even more elegant comparison to bumper the call with the direct comparison...

public void setName( name) {
  if (this.name != name) changes.firePropertyChange(&quot;name&quot;, this.name, this.name = name);
}

This will handle the null/null case as well as the same-string case.  The PropertyChangeSupport will handle the equivalent string case via a call to .equals(Object)</description>
		<content:encoded><![CDATA[<p>An even more elegant comparison to bumper the call with the direct comparison&#8230;</p>
<p>public void setName( name) {<br />
  if (this.name != name) changes.firePropertyChange(&#8221;name&#8221;, this.name, this.name = name);<br />
}</p>
<p>This will handle the null/null case as well as the same-string case.  The PropertyChangeSupport will handle the equivalent string case via a call to .equals(Object)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Casper Bang</title>
		<link>http://stuffthathappens.com/blog/2007/12/15/javabeans-propertychangesupport-trick/comment-page-1/#comment-3232</link>
		<dc:creator>Casper Bang</dc:creator>
		<pubDate>Tue, 18 Dec 2007 19:06:11 +0000</pubDate>
		<guid isPermaLink="false">http://stuffthathappens.com/blog/2007/12/15/javabeans-propertychangesupport-trick/#comment-3232</guid>
		<description>Yeah I use it all the time too. It doesn&#039;t provide native property support but as a shorthand notation it&#039;s great.</description>
		<content:encoded><![CDATA[<p>Yeah I use it all the time too. It doesn&#8217;t provide native property support but as a shorthand notation it&#8217;s great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: deans4j</title>
		<link>http://stuffthathappens.com/blog/2007/12/15/javabeans-propertychangesupport-trick/comment-page-1/#comment-3199</link>
		<dc:creator>deans4j</dc:creator>
		<pubDate>Tue, 18 Dec 2007 08:27:11 +0000</pubDate>
		<guid isPermaLink="false">http://stuffthathappens.com/blog/2007/12/15/javabeans-propertychangesupport-trick/#comment-3199</guid>
		<description>I think the most compact way is to use AOP to handle this problem : )</description>
		<content:encoded><![CDATA[<p>I think the most compact way is to use AOP to handle this problem : )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danno Ferrin</title>
		<link>http://stuffthathappens.com/blog/2007/12/15/javabeans-propertychangesupport-trick/comment-page-1/#comment-3137</link>
		<dc:creator>Danno Ferrin</dc:creator>
		<pubDate>Mon, 17 Dec 2007 15:53:08 +0000</pubDate>
		<guid isPermaLink="false">http://stuffthathappens.com/blog/2007/12/15/javabeans-propertychangesupport-trick/#comment-3137</guid>
		<description>No, there is a bug...

firePropertyChange(&#039;propertyName&#039;, null, null)

This will fire a non-change :(

--Danno</description>
		<content:encoded><![CDATA[<p>No, there is a bug&#8230;</p>
<p>firePropertyChange(&#8217;propertyName&#8217;, null, null)</p>
<p>This will fire a non-change <img src='http://stuffthathappens.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>&#8211;Danno</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kirill Grouchnikov</title>
		<link>http://stuffthathappens.com/blog/2007/12/15/javabeans-propertychangesupport-trick/comment-page-1/#comment-3069</link>
		<dc:creator>Kirill Grouchnikov</dc:creator>
		<pubDate>Sun, 16 Dec 2007 22:24:23 +0000</pubDate>
		<guid isPermaLink="false">http://stuffthathappens.com/blog/2007/12/15/javabeans-propertychangesupport-trick/#comment-3069</guid>
		<description>My bad. I&#039;m so used to the internal Swing code not using PropertyChangeSupport that i&#039;ve missed that part.</description>
		<content:encoded><![CDATA[<p>My bad. I&#8217;m so used to the internal Swing code not using PropertyChangeSupport that i&#8217;ve missed that part.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.865 seconds -->
