<?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 for A Java geek</title>
	<atom:link href="http://blog.frankel.ch/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.frankel.ch</link>
	<description>Nicolas Fränkel blog</description>
	<lastBuildDate>Sun, 05 Feb 2012 22:28:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on CDI worse than Spring for autowiring? by Roger Parkinson</title>
		<link>http://blog.frankel.ch/cdi-worse-than-spring-for-autowiring/comment-page-1#comment-1888</link>
		<dc:creator>Roger Parkinson</dc:creator>
		<pubDate>Sun, 05 Feb 2012 22:28:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.frankel.ch/?p=2070#comment-1888</guid>
		<description>Autowiring by type in Spring works okay for me. But I do use it very selectively. Where I have one bean ever of that type used in lots of places I tend to autowire that bean by type rather than clutter the XML file. Identifying such beans doesn&#039;t give me a problem so far.
I think the only place I use autowire by name is in test code.
In a couple of cases I use the component-scan to define the beans and inject a list of them into a class. That&#039;s more auto-defining than autowiring I guess. But it also reduces the XML clutter, so I think of it as similar.</description>
		<content:encoded><![CDATA[<p>Autowiring by type in Spring works okay for me. But I do use it very selectively. Where I have one bean ever of that type used in lots of places I tend to autowire that bean by type rather than clutter the XML file. Identifying such beans doesn&#8217;t give me a problem so far.<br />
I think the only place I use autowire by name is in test code.<br />
In a couple of cases I use the component-scan to define the beans and inject a list of them into a class. That&#8217;s more auto-defining than autowiring I guess. But it also reduces the XML clutter, so I think of it as similar.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flamingo tutorial by alex</title>
		<link>http://blog.frankel.ch/flamingo-tutorial/comment-page-1#comment-1886</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Fri, 03 Feb 2012 13:38:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.frankel.ch/?p=1147#comment-1886</guid>
		<description>Hello, I tried to add a change listener to my Ribbon but it doesn&#039;t work. How can I detect the change of tab in my Ribbon ?

Thank you for your help.</description>
		<content:encoded><![CDATA[<p>Hello, I tried to add a change listener to my Ribbon but it doesn&#8217;t work. How can I detect the change of tab in my Ribbon ?</p>
<p>Thank you for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Bean validation and JSR 303 by Siva</title>
		<link>http://blog.frankel.ch/bean-validation-and-jsr-303/comment-page-1#comment-1882</link>
		<dc:creator>Siva</dc:creator>
		<pubDate>Wed, 01 Feb 2012 02:16:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.frankel.ch/?p=699#comment-1882</guid>
		<description>&lt;a href=&quot;#comment-1278&quot; rel=&quot;nofollow&quot;&gt;@Mohammad &lt;/a&gt; 
You need to use ValidationGroups.


public interface CarChecks {
}

@NotNull(message = “The car name cannot be empty”, groups=com.CarChecks)
private String carName;



</description>
		<content:encoded><![CDATA[<p><a href="#comment-1278" rel="nofollow">@Mohammad </a><br />
You need to use ValidationGroups.</p>
<p>public interface CarChecks {<br />
}</p>
<p>@NotNull(message = “The car name cannot be empty”, groups=com.CarChecks)<br />
private String carName;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adapters in JAXB by Andrew Fink</title>
		<link>http://blog.frankel.ch/adapters-in-jaxb/comment-page-1#comment-1879</link>
		<dc:creator>Andrew Fink</dc:creator>
		<pubDate>Tue, 31 Jan 2012 07:05:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.frankel.ch/?p=2052#comment-1879</guid>
		<description>Try to ask http://blog.bdoughan.com/ - JAXB guru</description>
		<content:encoded><![CDATA[<p>Try to ask <a href="http://blog.bdoughan.com/" rel="nofollow">http://blog.bdoughan.com/</a> &#8211; JAXB guru</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Shoud you change your design for testing purposes? by Roger Parkinson</title>
		<link>http://blog.frankel.ch/shoud-you-change-your-design-for-testing-purposes/comment-page-1#comment-1877</link>
		<dc:creator>Roger Parkinson</dc:creator>
		<pubDate>Mon, 23 Jan 2012 07:08:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.frankel.ch/?p=2050#comment-1877</guid>
		<description>For setting mocks I agree with you. I still use Spring and I use a different beans xml file to inject test mocks. Test code is in the same package. Sometimes I change a method from private to protected so that test code can call it directly for testing. In that case I&#039;m changing the design. So I can see I should start using PrivateAccessor. I never do that to a setter, though.

But I do want to make the point that testability is part of the design. Before I used DI I had horrible designs from a testing point of view and a lot of my better design work came out of asking the question: How can I make this easier to test?</description>
		<content:encoded><![CDATA[<p>For setting mocks I agree with you. I still use Spring and I use a different beans xml file to inject test mocks. Test code is in the same package. Sometimes I change a method from private to protected so that test code can call it directly for testing. In that case I&#8217;m changing the design. So I can see I should start using PrivateAccessor. I never do that to a setter, though.</p>
<p>But I do want to make the point that testability is part of the design. Before I used DI I had horrible designs from a testing point of view and a lot of my better design work came out of asking the question: How can I make this easier to test?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Bean validation and JSR 303 by jens</title>
		<link>http://blog.frankel.ch/bean-validation-and-jsr-303/comment-page-1#comment-1875</link>
		<dc:creator>jens</dc:creator>
		<pubDate>Sat, 14 Jan 2012 20:21:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.frankel.ch/?p=699#comment-1875</guid>
		<description>hi, super hilfreicher Artikel!! Vielen Dank!! Viele Grüße Jens</description>
		<content:encoded><![CDATA[<p>hi, super hilfreicher Artikel!! Vielen Dank!! Viele Grüße Jens</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flamingo tutorial by Janavi Joshi</title>
		<link>http://blog.frankel.ch/flamingo-tutorial/comment-page-1#comment-1874</link>
		<dc:creator>Janavi Joshi</dc:creator>
		<pubDate>Wed, 11 Jan 2012 12:00:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.frankel.ch/?p=1147#comment-1874</guid>
		<description>&lt;a href=&quot;#comment-1252&quot; rel=&quot;nofollow&quot;&gt;@MuthuAnanth &lt;/a&gt; 

Get all suppoerted Jar file here

http://javaswingcomponents.blogspot.com/2011/12/jribbon.html</description>
		<content:encoded><![CDATA[<p><a href="#comment-1252" rel="nofollow">@MuthuAnanth </a> </p>
<p>Get all suppoerted Jar file here</p>
<p><a href="http://javaswingcomponents.blogspot.com/2011/12/jribbon.html" rel="nofollow">http://javaswingcomponents.blogspot.com/2011/12/jribbon.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Property editors by khong07</title>
		<link>http://blog.frankel.ch/property-editors/comment-page-1#comment-1872</link>
		<dc:creator>khong07</dc:creator>
		<pubDate>Tue, 03 Jan 2012 11:33:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.frankel.ch/?p=1848#comment-1872</guid>
		<description>Hi oliver, nicolas,

Could you give me an plain example with converter or propertyeditorregistar callback?

Because actually, i use stringarraypropertyeditor to convert string property to array with custom delimiter (so need constructor arg in stringarraypropertyeditor)

Many thanks.
Khong07</description>
		<content:encoded><![CDATA[<p>Hi oliver, nicolas,</p>
<p>Could you give me an plain example with converter or propertyeditorregistar callback?</p>
<p>Because actually, i use stringarraypropertyeditor to convert string property to array with custom delimiter (so need constructor arg in stringarraypropertyeditor)</p>
<p>Many thanks.<br />
Khong07</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flamingo tutorial by Nicolas Frankel</title>
		<link>http://blog.frankel.ch/flamingo-tutorial/comment-page-1#comment-1870</link>
		<dc:creator>Nicolas Frankel</dc:creator>
		<pubDate>Wed, 28 Dec 2011 22:21:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.frankel.ch/?p=1147#comment-1870</guid>
		<description>Your &lt;code&gt;MainFrame&lt;/code&gt; class should extend &lt;code&gt;JRibbonFrame&lt;/code&gt;, not &lt;code&gt;JFrame&lt;/code&gt;. That should solve your problem.</description>
		<content:encoded><![CDATA[<p>Your <code>MainFrame</code> class should extend <code>JRibbonFrame</code>, not <code>JFrame</code>. That should solve your problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flamingo tutorial by Rene</title>
		<link>http://blog.frankel.ch/flamingo-tutorial/comment-page-1#comment-1869</link>
		<dc:creator>Rene</dc:creator>
		<pubDate>Wed, 28 Dec 2011 22:13:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.frankel.ch/?p=1147#comment-1869</guid>
		<description>Hi, 
i know it is possible to use an own frame inheriting from JFrame and add a JRibbon component e.g. with BorderLayout.NORTH to this frame.
The ribbon is painted well and works except the application menu button. When the user presses it, there occurs the ClassCastException (see below).
Is there a workaround for this?

Regards René


Exception in thread &quot;AWT-EventQueue-0&quot; java.lang.ClassCastException: de.lambdamoo.aha.client.main.MainFrame cannot be cast to org.pushingpixels.flamingo.api.ribbon.JRibbonFrame
	at org.pushingpixels.flamingo.internal.ui.ribbon.appmenu.BasicRibbonApplicationMenuButtonUI$1.getPopupPanel(BasicRibbonApplicationMenuButtonUI.java:118)
	at org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonUI.processPopupAction(BasicCommandButtonUI.java:1103)
	at org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonUI$4.actionPerformed(BasicCommandButtonUI.java:1075)
	at org.pushingpixels.flamingo.api.common.JCommandButton$DefaultPopupButtonModel.firePopupActionPerformed(JCommandButton.java:314)
	at org.pushingpixels.flamingo.api.common.JCommandButton$DefaultPopupButtonModel.setPressed(JCommandButton.java:346)
	at org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonListener.mousePressed(BasicCommandButtonListener.java:122)</description>
		<content:encoded><![CDATA[<p>Hi,<br />
i know it is possible to use an own frame inheriting from JFrame and add a JRibbon component e.g. with BorderLayout.NORTH to this frame.<br />
The ribbon is painted well and works except the application menu button. When the user presses it, there occurs the ClassCastException (see below).<br />
Is there a workaround for this?</p>
<p>Regards René</p>
<p>Exception in thread &#8220;AWT-EventQueue-0&#8243; java.lang.ClassCastException: de.lambdamoo.aha.client.main.MainFrame cannot be cast to org.pushingpixels.flamingo.api.ribbon.JRibbonFrame<br />
	at org.pushingpixels.flamingo.internal.ui.ribbon.appmenu.BasicRibbonApplicationMenuButtonUI$1.getPopupPanel(BasicRibbonApplicationMenuButtonUI.java:118)<br />
	at org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonUI.processPopupAction(BasicCommandButtonUI.java:1103)<br />
	at org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonUI$4.actionPerformed(BasicCommandButtonUI.java:1075)<br />
	at org.pushingpixels.flamingo.api.common.JCommandButton$DefaultPopupButtonModel.firePopupActionPerformed(JCommandButton.java:314)<br />
	at org.pushingpixels.flamingo.api.common.JCommandButton$DefaultPopupButtonModel.setPressed(JCommandButton.java:346)<br />
	at org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonListener.mousePressed(BasicCommandButtonListener.java:122)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

