<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.6" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: TDD and Java Swing</title>
	<link>http://blog.gdinwiddie.com/2007/04/25/tdd-and-java-swing/</link>
	<description>Effective software development</description>
	<pubDate>Fri, 21 Nov 2008 00:02:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.6</generator>

	<item>
		<title>by: Timothy Wall</title>
		<link>http://blog.gdinwiddie.com/2007/04/25/tdd-and-java-swing/#comment-3942</link>
		<pubDate>Thu, 10 May 2007 19:03:46 +0000</pubDate>
		<guid>http://blog.gdinwiddie.com/2007/04/25/tdd-and-java-swing/#comment-3942</guid>
					<description>NOTE: the first argument to the JTextField find should be the combo box, which narrows the search to descendants of the combo box.

There are a number of simple matchers provided in the library, NameMatcher is among them.</description>
		<content:encoded><![CDATA[<p>NOTE: the first argument to the JTextField find should be the combo box, which narrows the search to descendants of the combo box.</p>
<p>There are a number of simple matchers provided in the library, NameMatcher is among them.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Timothy Wall</title>
		<link>http://blog.gdinwiddie.com/2007/04/25/tdd-and-java-swing/#comment-3941</link>
		<pubDate>Thu, 10 May 2007 19:01:45 +0000</pubDate>
		<guid>http://blog.gdinwiddie.com/2007/04/25/tdd-and-java-swing/#comment-3941</guid>
					<description>The folowing will get you the text field part of the combo box in most LAFs.
&lt;code&gt;&lt;pre&gt;
JComboBox box = (JComboBox)getFinder().find(new ClassMatcher(JComboBox.class);
JTextField tf = (JTextField)getFinder().find(new ClassMatcher(JTextField.class);
&lt;/pre&gt;&lt;/code&gt;

From there you can use JTextFieldTester to select, replace, type, etc.

Abbot was used to bootstrap itself, so I guess all the "documentation" for using it to do TDD is encompassed in its own unit tests.</description>
		<content:encoded><![CDATA[<p>The folowing will get you the text field part of the combo box in most LAFs.<br />
<pre><code>&lt;pre&gt;
JComboBox box = (JComboBox)getFinder().find(new ClassMatcher(JComboBox.class);
JTextField tf = (JTextField)getFinder().find(new ClassMatcher(JTextField.class);
&lt;/pre&gt;</code></pre></p>
<p>From there you can use JTextFieldTester to select, replace, type, etc.</p>
<p>Abbot was used to bootstrap itself, so I guess all the &#8220;documentation&#8221; for using it to do TDD is encompassed in its own unit tests.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: George Dinwiddie&#8217;s blog &#187; Making TDD and Java Swing behave</title>
		<link>http://blog.gdinwiddie.com/2007/04/25/tdd-and-java-swing/#comment-3877</link>
		<pubDate>Thu, 10 May 2007 02:20:55 +0000</pubDate>
		<guid>http://blog.gdinwiddie.com/2007/04/25/tdd-and-java-swing/#comment-3877</guid>
					<description>[...] Recently, I wrote about using the JfcUnit and Abbot frameworks to test-drive the creation of a Java Swing GUI. Since then, a post by Liz Keogh on the ExtremeProgramming yahoogroup led me to another option. It a wrapper around Swing written in conjunction with JBehave, but as Liz points out, it&#8217;s not dependent on the framework and can happily be used with JUnit, also. I like the fact that it&#8217;s really lightweight and fast. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Recently, I wrote about using the JfcUnit and Abbot frameworks to test-drive the creation of a Java Swing GUI. Since then, a post by Liz Keogh on the ExtremeProgramming yahoogroup led me to another option. It a wrapper around Swing written in conjunction with JBehave, but as Liz points out, it&#8217;s not dependent on the framework and can happily be used with JUnit, also. I like the fact that it&#8217;s really lightweight and fast. [&#8230;]
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
