<?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: Quick Tip 25: New Persistence in 6.7 Window System</title>
	<atom:link href="http://eppleton.sharedhost.de/blog/?feed=rss2&#038;p=619" rel="self" type="application/rss+xml" />
	<link>http://eppleton.sharedhost.de/blog/?p=619</link>
	<description>Toni's blog on NetBeans and Java</description>
	<pubDate>Thu, 09 Sep 2010 12:07:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Toni</title>
		<link>http://eppleton.sharedhost.de/blog/?p=619&#038;cpage=1#comment-4866</link>
		<dc:creator>Toni</dc:creator>
		<pubDate>Fri, 21 Aug 2009 08:55:44 +0000</pubDate>
		<guid isPermaLink="false">http://eppleton.sharedhost.de/blog/?p=619#comment-4866</guid>
		<description>I also ran into the "Twingleton" bug several times in the meantime :-). It's really ugly. Thanks a lot for the update.</description>
		<content:encoded><![CDATA[<p>I also ran into the &#8220;Twingleton&#8221; bug several times in the meantime :-). It&#8217;s really ugly. Thanks a lot for the update.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aljoscha Rittner</title>
		<link>http://eppleton.sharedhost.de/blog/?p=619&#038;cpage=1#comment-4865</link>
		<dc:creator>Aljoscha Rittner</dc:creator>
		<pubDate>Fri, 21 Aug 2009 08:51:58 +0000</pubDate>
		<guid isPermaLink="false">http://eppleton.sharedhost.de/blog/?p=619#comment-4865</guid>
		<description>Hi!

The current created TopComponent template by the wizard is buggy. The current template destroys the singleton pattern (the TopComponent is created twice). I've a solution described in my (german) blog:

http://www.sepix.de/blogs/blogrittner/blog/archive/2009/august/21/beandev_convertasproperties_zerstoeren_singleton_pattern_von_topcomponents/index.html

In short, please replace the generated readProperties method by this little correction:

  Object readProperties(java.util.Properties p) {
    if ( instance == null ) {
      instance = this;
    }
    instance.readPropertiesImpl(p);
    return instance;
  }

br, josh.</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>The current created TopComponent template by the wizard is buggy. The current template destroys the singleton pattern (the TopComponent is created twice). I&#8217;ve a solution described in my (german) blog:</p>
<p><a href="http://www.sepix.de/blogs/blogrittner/blog/archive/2009/august/21/beandev_convertasproperties_zerstoeren_singleton_pattern_von_topcomponents/index.html" rel="nofollow">http://www.sepix.de/blogs/blogrittner/blog/archive/2009/august/21/beandev_convertasproperties_zerstoeren_singleton_pattern_von_topcomponents/index.html</a></p>
<p>In short, please replace the generated readProperties method by this little correction:</p>
<p>  Object readProperties(java.util.Properties p) {<br />
    if ( instance == null ) {<br />
      instance = this;<br />
    }<br />
    instance.readPropertiesImpl(p);<br />
    return instance;<br />
  }</p>
<p>br, josh.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
