<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Sahabatnya dunia IT kamu ...:)</title>
	<atom:link href="http://sahabatit.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sahabatit.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Thu, 09 Jul 2009 08:27:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sahabatit.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/f81a81315c98aa50242d601fe2366d48?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Sahabatnya dunia IT kamu ...:)</title>
		<link>http://sahabatit.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sahabatit.wordpress.com/osd.xml" title="Sahabatnya dunia IT kamu ...:)" />
	<atom:link rel='hub' href='http://sahabatit.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Make Tab as Enter on Spring RCP</title>
		<link>http://sahabatit.wordpress.com/2009/07/09/make-tab-as-enter-on-spring-rcp/</link>
		<comments>http://sahabatit.wordpress.com/2009/07/09/make-tab-as-enter-on-spring-rcp/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 08:27:24 +0000</pubDate>
		<dc:creator>sahabatit</dc:creator>
				<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://sahabatit.wordpress.com/?p=13</guid>
		<description><![CDATA[Make Tab as Enter on Spring RCP Definition: When user use button ENTER so then pointer will be focus to the next component for the example JTextField. For this requirement we have to make a custom JTextField binder. You can &#8230; <a href="http://sahabatit.wordpress.com/2009/07/09/make-tab-as-enter-on-spring-rcp/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sahabatit.wordpress.com&amp;blog=7139146&amp;post=13&amp;subd=sahabatit&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Make Tab as Enter on Spring RCP</strong></p>
<p>Definition: When user use button ENTER so then pointer will be focus to the next component for the example JTextField. For this requirement we have to make a custom JTextField binder. You can find code below:</p>
<blockquote><p>import java.awt.event.KeyAdapter;</p>
<p>import java.awt.event.KeyEvent;</p>
<p>import java.beans.PropertyChangeEvent;</p>
<p>import java.beans.PropertyChangeListener;</p>
<p>import java.util.Map;</p>
<p>import javax.swing.JComponent;</p>
<p>import javax.swing.JTextField;</p>
<p>import org.springframework.binding.form.FormModel;</p>
<p>import org.springframework.richclient.form.binding.Binding;</p>
<p>import org.springframework.richclient.form.binding.support.AbstractBinder;</p>
<p>import org.springframework.richclient.form.binding.support.CustomBinding;</p>
<p>public class CTextFieldBinder extends AbstractBinder {</p>
<p>. ……</p>
<p>protected Binding doBind(JComponent control, FormModel formModel,     java.lang.String formPropertyPath, Map context) {</p>
<p>final JTextField textField = (JTextField)control;</p>
<p>// TODO Auto-generated method stub</p>
<p>return new CustomBinding(formModel, formPropertyPath, java.lang.String.class){</p>
<p>@Override</p>
<p>protected void valueModelChanged(Object text) {</p>
<p>// TODO Auto-generated method stub</p>
<p>textField.setText(text.toString());</p>
<p>textField.validate();</p>
<p>}</p>
<p>@Override</p>
<p>protected JComponent doBindControl() {</p>
<p>// TODO Auto-generated method stub</p>
<p>textField.addPropertyChangeListener(null,new PropertyChangeListener() {</p>
<p>public void propertyChange(PropertyChangeEvent evt) {</p>
<p>super.toString();</p>
<p>controlValueChanged(textField.getText());</p>
<p>}</p>
<p>});</p>
<p>textField.addKeyListener(new KeyAdapter(){@Override</p>
<p>public void keyPressed(KeyEvent e) {</p>
<p>controlValueChanged(textField.getText());</p>
<p>int key = e.getKeyCode();</p>
<p><strong>if (key==KeyEvent.VK_ENTER){</strong></p>
<p><strong> textField.transferFocus();</strong></p>
<p><strong> }</strong></p>
<p>}</p>
<p>});</p>
<p>return textField;</p>
<p>}</p>
<p>}</p></blockquote>
<p align="center">
<p>}</p>
<p>In that binder just add a key listener to recognize what button the user press. After that, register the binder in the binder strategy;</p>
<blockquote><p>&lt;bean id=<em>&#8220;binderSelectionStrategy&#8221;</em> class=<em>&#8220;org.springframework.richclient.form.binding.swing.SwingBinderSelectionStrategy&#8221;</em>&gt;</p>
<p>&lt;property name=<em>&#8220;bindersForPropertyTypes&#8221;</em>&gt;</p>
<p>&lt;map&gt;</p>
<p>&lt;entry&gt;</p>
<p>&lt;key&gt;&lt;value type=<em>&#8220;java.lang.Class&#8221;</em>&gt;java.lang.String&lt;/value&gt;&lt;/key&gt;</p>
<p>&lt;bean class=<em>&#8220;com.simiantech.simone.domain.custom.CTextFieldBinder&#8221;</em> /&gt;</p>
<p>&lt;/entry&gt;</p>
<p>&lt;/property&gt;</p>
<p>&lt;bean/&gt;</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sahabatit.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sahabatit.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sahabatit.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sahabatit.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sahabatit.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sahabatit.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sahabatit.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sahabatit.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sahabatit.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sahabatit.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sahabatit.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sahabatit.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sahabatit.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sahabatit.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sahabatit.wordpress.com&amp;blog=7139146&amp;post=13&amp;subd=sahabatit&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sahabatit.wordpress.com/2009/07/09/make-tab-as-enter-on-spring-rcp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f19d83b4d7ed9c5bca1cd995657fe258?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sahabatit</media:title>
		</media:content>
	</item>
		<item>
		<title>Validation on Spring RCP</title>
		<link>http://sahabatit.wordpress.com/2009/07/09/rcp-validation/</link>
		<comments>http://sahabatit.wordpress.com/2009/07/09/rcp-validation/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 08:05:14 +0000</pubDate>
		<dc:creator>sahabatit</dc:creator>
				<category><![CDATA[SPRING RCP]]></category>
		<category><![CDATA[spring rcp validation]]></category>

		<guid isPermaLink="false">http://sahabatit.wordpress.com/?p=9</guid>
		<description><![CDATA[how to make validation in spring rcp yu can create easyly now <a href="http://sahabatit.wordpress.com/2009/07/09/rcp-validation/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sahabatit.wordpress.com&amp;blog=7139146&amp;post=9&amp;subd=sahabatit&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Case Example:</p>
<p>Make a validation form to submit data customer with properties name, lastname and address.</p>
<p>Before submit the form user must fill the name without number and with minimal character,</p>
<p>lastname must be filled and address must be filled too.</p>
<ol>
<li>We have customer class code below:<br />
<!--[if gte mso 9]&gt;  Normal 0     false false false  EN-US X-NONE X-NONE                           &lt;![endif]--><!--[if gte mso 9]&gt;                                                                                                                                            &lt;![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:1; 	mso-generic-font-family:roman; 	mso-font-format:other; 	mso-font-pitch:variable; 	mso-font-signature:0 0 0 0 0 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-520092929 1073786111 9 0 415 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin-top:0in; 	mso-para-margin-right:0in; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:&quot;Times New Roman&quot;; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-bidi-theme-font:minor-bidi;} --> <!--[endif]--></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">import</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> java.util.Date;</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">public</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> </span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">class</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> Customer {</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">private</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> String </span><span style="font-size:6pt;font-family:&quot;color:#0000c0;">name</span><span style="font-size:6pt;font-family:&quot;color:black;">;</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">private</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> String </span><span style="font-size:6pt;font-family:&quot;color:#0000c0;">lastame</span><span style="font-size:6pt;font-family:&quot;color:black;">;</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal"><span style="font-size:6pt;line-height:115%;font-family:&quot;color:black;"><span> </span></span><strong><span style="font-size:6pt;line-height:115%;font-family:&quot;color:#7f0055;">private</span></strong><span style="font-size:6pt;line-height:115%;font-family:&quot;color:black;"> Branch </span><span style="font-size:6pt;line-height:115%;font-family:&quot;color:#2a00ff;">address</span><span style="font-size:6pt;line-height:115%;font-family:&quot;color:black;">;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;text-indent:.5in;line-height:normal;"><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">public</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> String getCustomerName() {</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">return</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> </span><span style="font-size:6pt;font-family:&quot;color:#0000c0;">name</span><span style="font-size:6pt;font-family:&quot;color:black;">;</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span>}</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">public</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> </span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">void</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> setCustomerName(String name) {</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">this</span></strong><span style="font-size:6pt;font-family:&quot;color:black;">.</span><span style="font-size:6pt;font-family:&quot;color:#0000c0;">name</span><span style="font-size:6pt;font-family:&quot;color:black;"> = name;</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;"><span style="font-size:6pt;line-height:115%;font-family:&quot;color:black;"><span> </span>}</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;"><span style="font-size:6pt;line-height:115%;font-family:&quot;color:black;"><span> </span></span><strong><span style="font-size:6pt;line-height:115%;font-family:&quot;color:#7f0055;">public</span></strong><span style="font-size:6pt;line-height:115%;font-family:&quot;color:black;"> String getCustomerLastName() {</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;"><span style="font-size:6pt;line-height:115%;font-family:&quot;color:black;"><span> </span></span><strong><span style="font-size:6pt;line-height:115%;font-family:&quot;color:#7f0055;">return</span></strong><span style="font-size:6pt;line-height:115%;font-family:&quot;color:black;"> </span><span style="font-size:6pt;line-height:115%;font-family:&quot;color:#0000c0;">name</span><span style="font-size:6pt;line-height:115%;font-family:&quot;color:black;">;</span><span style="font-size:6pt;line-height:115%;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span>}</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">public</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> </span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">void</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> setCustomerLastName(String name) {</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">this</span></strong><span style="font-size:6pt;font-family:&quot;color:black;">.</span><span style="font-size:6pt;font-family:&quot;color:#0000c0;">name</span><span style="font-size:6pt;font-family:&quot;color:black;"> = name;</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;"><span style="font-size:6pt;line-height:115%;font-family:&quot;color:black;"><span> </span>}</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;text-indent:.5in;line-height:normal;"><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">public</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> Address getAddress() {</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">return</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> </span><span style="font-size:6pt;font-family:&quot;color:#0000c0;">address</span><span style="font-size:6pt;font-family:&quot;color:black;">;</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span>}</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">public</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> </span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">void</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> setAddress(Address address) {</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">this</span></strong><span style="font-size:6pt;font-family:&quot;color:black;">.</span><span style="font-size:6pt;font-family:&quot;color:#0000c0;">address</span><span style="font-size:6pt;font-family:&quot;color:black;"> = address;</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;"><span style="font-size:6pt;line-height:115%;font-family:&quot;color:black;"><span> </span>}</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;"><span style="font-size:6pt;line-height:115%;font-family:&quot;color:black;">}</span></p>
</li>
<li><!--[if gte mso 9]&gt;  Normal 0     false false false  EN-US X-NONE X-NONE                           &lt;![endif]--><!--[if gte mso 9]&gt;                                                                                                                                            &lt;![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:1; 	mso-generic-font-family:roman; 	mso-font-format:other; 	mso-font-pitch:variable; 	mso-font-signature:0 0 0 0 0 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-520092929 1073786111 9 0 415 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} code 	{mso-style-noshow:yes; 	mso-style-priority:99; 	font-family:"Courier New"; 	mso-ascii-font-family:"Courier New"; 	mso-fareast-font-family:"Times New Roman"; 	mso-hansi-font-family:"Courier New"; 	mso-bidi-font-family:"Courier New";} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin-top:0in; 	mso-para-margin-right:0in; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:&quot;Times New Roman&quot;; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-bidi-theme-font:minor-bidi;} --> <!--[endif]--><!--[if gte mso 9]&gt;  Normal 0     false false false  EN-US X-NONE X-NONE                           &lt;![endif]--><!--[if gte mso 9]&gt;                                                                                                                                            &lt;![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:1; 	mso-generic-font-family:roman; 	mso-font-format:other; 	mso-font-pitch:variable; 	mso-font-signature:0 0 0 0 0 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-520092929 1073786111 9 0 415 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} code 	{mso-style-noshow:yes; 	mso-style-priority:99; 	font-family:"Courier New"; 	mso-ascii-font-family:"Courier New"; 	mso-fareast-font-family:"Times New Roman"; 	mso-hansi-font-family:"Courier New"; 	mso-bidi-font-family:"Courier New";} p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:.5in; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:0in; 	margin-left:.5in; 	margin-bottom:.0001pt; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:0in; 	margin-left:.5in; 	margin-bottom:.0001pt; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:.5in; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:1089934563; 	mso-list-type:hybrid; 	mso-list-template-ids:-1187980594 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;} @list l0:level1 	{mso-level-tab-stop:none; 	mso-level-number-position:left; 	text-indent:-.25in;} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin-top:0in; 	mso-para-margin-right:0in; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-bidi-theme-font:minor-bidi;} --> <!--[endif]--><code><span style="font-size:8pt;line-height:115%;font-family:&quot;"><span><span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span></code><!--[endif]--><span style="font-size:8pt;line-height:115%;font-family:&quot;">Make a class implement <code><em><span style="line-height:115%;font-family:&quot;">DefaultRulesSource</span></em></code><code><span style="line-height:115%;font-family:&quot;">(org.springframework.rules.support.DefaultRulesSource) . For example class <em>ApplicationRule<strong>.</strong></em></span></code></span><!--[if gte mso 9]&gt;  Normal 0     false false false  EN-US X-NONE X-NONE                           &lt;![endif]--><!--[if gte mso 9]&gt;                                                                                                                                            &lt;![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:1; 	mso-generic-font-family:roman; 	mso-font-format:other; 	mso-font-pitch:variable; 	mso-font-signature:0 0 0 0 0 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-520092929 1073786111 9 0 415 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin-top:0in; 	mso-para-margin-right:0in; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-bidi-theme-font:minor-bidi;} --> <!--[endif]-->
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">import</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> org.springframework.rules.Rules;</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">import</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> org.springframework.rules.constraint.Constraint;</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">import</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> org.springframework.rules.support.DefaultRulesSource;</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">import</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> com.simiantech.simba.model.Customer;</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">public</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> </span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">class</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> ApplicationRule<span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">extends</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> DefaultRulesSource{</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">private</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> </span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">final</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> Constraint </span><span style="font-size:6pt;font-family:&quot;color:#0000c0;">NAME_CONSTRAINT</span><span style="font-size:6pt;font-family:&quot;color:black;"> = all(</span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">new</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> Constraint[]{required(), minLength(2),</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span>regexp(</span><span style="font-size:6pt;font-family:&quot;color:#2a00ff;">&#8220;[-'.a-zA-Z ]*&#8221;</span><span style="font-size:6pt;font-family:&quot;color:black;">, </span><span style="font-size:6pt;font-family:&quot;color:#2a00ff;">&#8220;alphabeticConstraint&#8221;</span><span style="font-size:6pt;font-family:&quot;color:black;">)</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span>});<span> </span></span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">private</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span>ApplicationRule(){<span> </span><span> </span></span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">super</span></strong><span style="font-size:6pt;font-family:&quot;color:black;">();</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span><span> </span>addRules(createCustomerRules());</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span>}</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">private</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> Rules createCustomerRules(){</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">return</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> </span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">new</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> Rules(Customer.</span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">class</span></strong><span style="font-size:6pt;font-family:&quot;color:black;">){</span><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 .0001pt .5in;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">protected</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> </span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">void</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> initRules(){</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 .0001pt .5in;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span><span> </span>add(</span><span style="font-size:6pt;font-family:&quot;color:#2a00ff;">&#8220;name&#8221;</span><span style="font-size:6pt;font-family:&quot;color:black;">, </span><span style="font-size:6pt;font-family:&quot;color:#0000c0;">NAME_CONSTRAINT</span><span style="font-size:6pt;font-family:&quot;color:black;">);</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 .0001pt .5in;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span><span> </span>add(</span><span style="font-size:6pt;font-family:&quot;color:#2a00ff;">&#8220;lastname&#8221;</span><span style="font-size:6pt;font-family:&quot;color:black;">, required());</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 .0001pt .5in;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span><span> </span><span> </span>add(</span><span style="font-size:6pt;font-family:&quot;color:#2a00ff;">&#8220;address&#8221;</span><span style="font-size:6pt;font-family:&quot;color:black;">,required());</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 .0001pt .5in;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span><span> </span>}</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span>};</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;text-indent:.5in;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;">}</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;">}</span></p>
</li>
<li><!--[if gte mso 9]&gt;  Normal 0     false false false  EN-US X-NONE X-NONE                           &lt;![endif]--><!--[if gte mso 9]&gt;                                                                                                                                            &lt;![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:1; 	mso-generic-font-family:roman; 	mso-font-format:other; 	mso-font-pitch:variable; 	mso-font-signature:0 0 0 0 0 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-520092929 1073786111 9 0 415 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} code 	{mso-style-noshow:yes; 	mso-style-priority:99; 	font-family:"Courier New"; 	mso-ascii-font-family:"Courier New"; 	mso-fareast-font-family:"Times New Roman"; 	mso-hansi-font-family:"Courier New"; 	mso-bidi-font-family:"Courier New";} p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:.5in; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:0in; 	margin-left:.5in; 	margin-bottom:.0001pt; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:0in; 	margin-left:.5in; 	margin-bottom:.0001pt; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:.5in; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:1089934563; 	mso-list-type:hybrid; 	mso-list-template-ids:-1187980594 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;} @list l0:level1 	{mso-level-tab-stop:none; 	mso-level-number-position:left; 	text-indent:-.25in;} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin-top:0in; 	mso-para-margin-right:0in; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-bidi-theme-font:minor-bidi;} --> <!--[endif]--><span style="font-size:8pt;line-height:115%;font-family:&quot;">Register <code><em><span style="line-height:115%;font-family:&quot;">ApplicationRule </span></em></code><code><span style="line-height:115%;font-family:&quot;">class in the richclient-application-context.xml. Anywhere within that file, add the following:<br />
</span></code></span><!--[if gte mso 9]&gt;  Normal 0     false false false  EN-US X-NONE X-NONE                           &lt;![endif]--><!--[if gte mso 9]&gt;                                                                                                                                            &lt;![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:1; 	mso-generic-font-family:roman; 	mso-font-format:other; 	mso-font-pitch:variable; 	mso-font-signature:0 0 0 0 0 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-520092929 1073786111 9 0 415 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin-top:0in; 	mso-para-margin-right:0in; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-bidi-theme-font:minor-bidi;} --> <!--[endif]--></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:teal;">&lt;</span><span style="font-size:6pt;font-family:&quot;color:#3f7f7f;">bean</span><span style="font-size:6pt;font-family:&quot;"> <span style="color:#7f007f;">id</span><span style="color:black;">=</span><em><span style="color:#2a00ff;">&#8220;rulesSource&#8221;</span></em> <span style="color:#7f007f;">class</span><span style="color:black;">=</span><em><span style="color:#2a00ff;">&#8220;com.simiantech.simba.teller.domain.rule.ApplicationRule&#8221;</span></em> <span style="color:teal;">/</span></span></p>
</li>
<li><!--[if gte mso 9]&gt;  Normal 0     false false false  EN-US X-NONE X-NONE                           &lt;![endif]--><!--[if gte mso 9]&gt;                                                                                                                                            &lt;![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:1; 	mso-generic-font-family:roman; 	mso-font-format:other; 	mso-font-pitch:variable; 	mso-font-signature:0 0 0 0 0 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-520092929 1073786111 9 0 415 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} code 	{mso-style-noshow:yes; 	mso-style-priority:99; 	font-family:"Courier New"; 	mso-ascii-font-family:"Courier New"; 	mso-fareast-font-family:"Times New Roman"; 	mso-hansi-font-family:"Courier New"; 	mso-bidi-font-family:"Courier New";} p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:.5in; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:0in; 	margin-left:.5in; 	margin-bottom:.0001pt; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:0in; 	margin-left:.5in; 	margin-bottom:.0001pt; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:.5in; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:1089934563; 	mso-list-type:hybrid; 	mso-list-template-ids:-1187980594 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;} @list l0:level1 	{mso-level-tab-stop:none; 	mso-level-number-position:left; 	text-indent:-.25in;} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin-top:0in; 	mso-para-margin-right:0in; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-bidi-theme-font:minor-bidi;} --> <!--[endif]--><span style="font-size:8pt;line-height:115%;font-family:&quot;">Add <em><span style="color:black;">rulesource</span></em></span><em><span style="font-size:6pt;line-height:115%;font-family:&quot;color:#2a00ff;"> </span></em><span style="font-size:8pt;line-height:115%;font-family:&quot;">bean to be an property in the application service in <code><span style="line-height:115%;font-family:&quot;">richclient-application-context.xml file below:<br />
</span></code></span><!--[if gte mso 9]&gt;  Normal 0     false false false  EN-US X-NONE X-NONE                           &lt;![endif]--><!--[if gte mso 9]&gt;                                                                                                                                            &lt;![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:1; 	mso-generic-font-family:roman; 	mso-font-format:other; 	mso-font-pitch:variable; 	mso-font-signature:0 0 0 0 0 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-520092929 1073786111 9 0 415 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin-top:0in; 	mso-para-margin-right:0in; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-bidi-theme-font:minor-bidi;} --> <!--[endif]--></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:teal;">&lt;</span><span style="background:silver none repeat scroll 0 0;font-size:6pt;font-family:&quot;color:#3f7f7f;">bean</span><span style="font-size:6pt;font-family:&quot;"> <span style="color:#7f007f;">id</span><span style="color:black;">=</span><em><span style="color:#2a00ff;">&#8220;applicationServices&#8221; </span></em><span style="color:#7f007f;">class</span><span style="color:black;">=</span><em><span style="color:#2a00ff;">&#8220;org.springframework.richclient.application.support.DefaultApplicationServices&#8221;</span></em><span style="color:teal;">&gt;</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><span style="font-size:6pt;font-family:&quot;color:#a6a6a6;">&lt;property</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:#a6a6a6;"><span> </span>… ….</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:#a6a6a6;"><span> </span>&lt;/property&gt;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><span style="font-size:6pt;font-family:&quot;color:teal;">&lt;</span><span style="font-size:6pt;font-family:&quot;color:#3f7f7f;">property</span><span style="font-size:6pt;font-family:&quot;"> <span style="color:#7f007f;">name</span><span style="color:black;">=</span><em><span style="color:#2a00ff;">&#8220;rulesSourceId&#8221;</span></em><span style="color:teal;">&gt;</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><span style="font-size:6pt;font-family:&quot;color:teal;">&lt;</span><span style="font-size:6pt;font-family:&quot;color:#3f7f7f;">idref</span><span style="font-size:6pt;font-family:&quot;"> <span style="color:#7f007f;">bean</span><span style="color:black;">=</span><em><span style="color:#2a00ff;">&#8220;rulesSource&#8221;</span></em><span style="color:teal;">/&gt;</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><span style="font-size:6pt;font-family:&quot;color:teal;">&lt;/</span><span style="font-size:6pt;font-family:&quot;color:#3f7f7f;">property</span><span style="font-size:6pt;font-family:&quot;color:teal;">&gt;</span><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span></p>
<p class="MsoNormal"><span style="font-size:6pt;line-height:115%;font-family:&quot;color:teal;">&lt;/</span><span style="background:silver none repeat scroll 0 0;font-size:6pt;line-height:115%;font-family:&quot;color:#3f7f7f;">bean</span><span style="font-size:6pt;line-height:115%;font-family:&quot;color:teal;">&gt;</span></p>
</li>
<li>
<p class="MsoNormal"><!--[if gte mso 9]&gt;  Normal 0     false false false  EN-US X-NONE X-NONE                           &lt;![endif]--><!--[if gte mso 9]&gt;                                                                                                                                            &lt;![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:1; 	mso-generic-font-family:roman; 	mso-font-format:other; 	mso-font-pitch:variable; 	mso-font-signature:0 0 0 0 0 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-520092929 1073786111 9 0 415 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:.5in; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:0in; 	margin-left:.5in; 	margin-bottom:.0001pt; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:0in; 	margin-left:.5in; 	margin-bottom:.0001pt; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:.5in; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:1089934563; 	mso-list-type:hybrid; 	mso-list-template-ids:-1187980594 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;} @list l0:level1 	{mso-level-tab-stop:none; 	mso-level-number-position:left; 	text-indent:-.25in;} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin-top:0in; 	mso-para-margin-right:0in; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-bidi-theme-font:minor-bidi;} --><span style="font-size:8pt;line-height:115%;font-family:&quot;"><span><span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]--><span style="font-size:8pt;line-height:115%;font-family:&quot;">Make customer form<br />
</span><!--[if gte mso 9]&gt;  Normal 0     false false false  EN-US X-NONE X-NONE                           &lt;![endif]--><!--[if gte mso 9]&gt;                                                                                                                                            &lt;![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:1; 	mso-generic-font-family:roman; 	mso-font-format:other; 	mso-font-pitch:variable; 	mso-font-signature:0 0 0 0 0 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-520092929 1073786111 9 0 415 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin-top:0in; 	mso-para-margin-right:0in; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-bidi-theme-font:minor-bidi;} --> <!--[endif]--></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">import</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> java.util.List;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">import</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> javax.swing.JComponent;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">import</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> org.springframework.binding.form.FormModel;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">import</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> org.springframework.richclient.form.AbstractForm;</span></p>
<p class="MsoNormal" style="line-height:normal;"><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">import</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> org.springframework.richclient.form.builder.FormLayoutFormBuilder;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">public</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> </span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">class</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> CustomerForm </span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">extends</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> AbstractForm {</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">public</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> CustomerForm(</span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">final</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> FormModel formModel) {</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">super</span></strong><span style="font-size:6pt;font-family:&quot;color:black;">(formModel);</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span>setId(</span><span style="font-size:6pt;font-family:&quot;color:#2a00ff;">&#8220;customer&#8221;</span><span style="font-size:6pt;font-family:&quot;color:black;">);<span> </span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span>}</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><span style="font-size:6pt;font-family:&quot;color:#646464;">@Override</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">protected</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> JComponent createFormControl() {</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span>FormLayout layout = </span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">new</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> FormLayout(</span><span style="font-size:6pt;font-family:&quot;color:#2a00ff;">&#8220;right:pref, $rgap, fill:pref:grow</span><span style="font-size:6pt;font-family:&quot;color:black;">, </span><span style="font-size:6pt;font-family:&quot;color:#2a00ff;">&#8220;default&#8221;</span><span style="font-size:6pt;font-family:&quot;color:black;">);</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span>FormLayoutFormBuilder builder = </span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">new</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> FormLayoutFormBuilder(getBindingFactory(), layout);</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span><span> </span>builder.setLabelAttributes(</span><span style="font-size:6pt;font-family:&quot;color:#2a00ff;">&#8220;r, c&#8221;</span><span style="font-size:6pt;font-family:&quot;color:black;">);</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span>builder.addPropertyAndLabel(</span><span style="font-size:6pt;font-family:&quot;color:#2a00ff;">&#8220;name &#8220;</span><span style="font-size:6pt;font-family:&quot;color:black;">);</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span>builder.nextRow();</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span><span> </span>builder.addPropertyAndLabel(</span><span style="font-size:6pt;font-family:&quot;color:#2a00ff;">&#8220;lastname&#8221;</span><span style="font-size:6pt;font-family:&quot;color:black;">);</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span>builder.nextRow();</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span>builder.addPropertyAndLabel(</span><span style="font-size:6pt;font-family:&quot;color:#2a00ff;">&#8220;address&#8221;</span><span style="font-size:6pt;font-family:&quot;color:black;">);</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">return</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> builder.getPanel();</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span>}</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;">}</span></p>
</li>
<li><!--[if gte mso 9]&gt;  Normal 0     false false false  EN-US X-NONE X-NONE                           &lt;![endif]--><!--[if gte mso 9]&gt;                                                                                                                                            &lt;![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:1; 	mso-generic-font-family:roman; 	mso-font-format:other; 	mso-font-pitch:variable; 	mso-font-signature:0 0 0 0 0 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-520092929 1073786111 9 0 415 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:.5in; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:0in; 	margin-left:.5in; 	margin-bottom:.0001pt; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:0in; 	margin-left:.5in; 	margin-bottom:.0001pt; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:.5in; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:1089934563; 	mso-list-type:hybrid; 	mso-list-template-ids:-1187980594 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;} @list l0:level1 	{mso-level-tab-stop:none; 	mso-level-number-position:left; 	text-indent:-.25in;} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin-top:0in; 	mso-para-margin-right:0in; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-bidi-theme-font:minor-bidi;} --> <!--[endif]--><span style="font-size:8pt;line-height:115%;font-family:&quot;"><span><span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]--><span style="font-size:8pt;line-height:115%;font-family:&quot;">Make customer View</span><br />
<!--[if gte mso 9]&gt;  Normal 0     false false false  EN-US X-NONE X-NONE                           &lt;![endif]--><!--[if gte mso 9]&gt;                                                                                                                                            &lt;![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:1; 	mso-generic-font-family:roman; 	mso-font-format:other; 	mso-font-pitch:variable; 	mso-font-signature:0 0 0 0 0 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-520092929 1073786111 9 0 415 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin-top:0in; 	mso-para-margin-right:0in; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-bidi-theme-font:minor-bidi;} --> <!--[endif]--></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">import</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> java.awt.BorderLayout;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">import</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> java.util.List;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">import</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> javax.swing.JComponent;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">import</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> javax.swing.JPanel;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">import</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> org.springframework.binding.form.ValidatingFormModel;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">import</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> org.springframework.richclient.application.support.AbstractView;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">import</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> org.springframework.richclient.dialog.DialogPage;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">import</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> org.springframework.richclient.dialog.TitledPageApplicationDialog;</span></p>
<p class="MsoNormal"><strong><span style="font-size:6pt;line-height:115%;font-family:&quot;color:#7f0055;">import</span></strong><span style="font-size:6pt;line-height:115%;font-family:&quot;color:black;"> org.springframework.richclient.form.FormModelHelper;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">public</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> </span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">class</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> CustomerView </span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">extends</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> AbstractView {</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">private</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> CustomerForm </span><span style="font-size:6pt;font-family:&quot;color:#0000c0;">customerForm</span><span style="font-size:6pt;font-family:&quot;color:black;">;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">public</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> </span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">void</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> setCustomerForm(CustomerForm customerForm) {</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">this</span></strong><span style="font-size:6pt;font-family:&quot;color:black;">.</span><span style="font-size:6pt;font-family:&quot;color:#0000c0;">customerForm</span><span style="font-size:6pt;font-family:&quot;color:black;"> = customerForm;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span>}</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><span style="font-size:6pt;font-family:&quot;color:#646464;">@Override</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">public</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> JComponent createControl() {</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span>JPanel view = </span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">new</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> JPanel(</span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">new</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> BorderLayout()); </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span>ValidatingFormModel model = FormModelHelper.<em>createFormModel</em>(New Customer());</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span>CompositeDialogPage composite = </span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">new</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> CompositeDialogPage(</span><span style="font-size:6pt;font-family:&quot;color:#2a00ff;">&#8220;form&#8221;</span><span style="font-size:6pt;font-family:&quot;color:black;">) {<span> </span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">protected</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> </span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">boolean</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> <span style="text-decoration:underline;">onFinish()</span> {</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">return</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> </span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">true</span></strong><span style="font-size:6pt;font-family:&quot;color:black;">;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span>}</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span>};</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><span style="font-size:6pt;font-family:&quot;color:#0000c0;">customerForm</span><span style="font-size:6pt;font-family:&quot;color:black;"> = </span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">new</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> CustomerForm(model);</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><span style="font-size:6pt;font-family:&quot;color:#0000c0;">tabbedPane</span><span style="font-size:6pt;font-family:&quot;color:black;"> = </span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">new</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> TabbedDialogPage(</span><span style="font-size:6pt;font-family:&quot;color:#2a00ff;">&#8220;myCustomer&#8221;</span><span style="font-size:6pt;font-family:&quot;color:black;">);</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span>DialogPage page1 = composite.addForm(</span><span style="font-size:6pt;font-family:&quot;color:#0000c0;">customerForm</span><span style="font-size:6pt;font-family:&quot;color:black;">,</span><span style="font-size:6pt;font-family:&quot;color:#2a00ff;">&#8220;customer&#8221;</span><span style="font-size:6pt;font-family:&quot;color:black;">);<span> </span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span><span style="font-size:6pt;font-family:&quot;color:#0000c0;">tabbedPane</span><span style="font-size:6pt;font-family:&quot;color:black;">.addPage(page1);</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 .0001pt 1in;"><span style="font-size:6pt;font-family:&quot;color:black;">TitledPageApplicationDialog dialog = </span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">new</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> TitledPageApplicationDialog(</span><span style="font-size:6pt;font-family:&quot;color:#0000c0;">tabbedPane</span><span style="font-size:6pt;font-family:&quot;color:black;">, getWindowControl()) {</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">protected</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> </span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">boolean</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> onFinish() {</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">return</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> </span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">true</span></strong><span style="font-size:6pt;font-family:&quot;color:black;">;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span>}</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span>};</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span>view.add(dialog.getDialog().getContentPane(), BorderLayout.</span><em><span style="font-size:6pt;font-family:&quot;color:#0000c0;">CENTER</span></em><span style="font-size:6pt;font-family:&quot;color:black;">);<span> </span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span><span> </span></span><strong><span style="font-size:6pt;font-family:&quot;color:#7f0055;">return</span></strong><span style="font-size:6pt;font-family:&quot;color:black;"> view;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;"><span> </span>}</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:6pt;font-family:&quot;color:black;">}</span></p>
<p class="MsoNormal"><span style="font-size:6pt;line-height:115%;"> </span></p>
<p><span style="font-size:8pt;line-height:115%;font-family:&quot;"><code><span style="line-height:115%;font-family:&quot;"><br />
</span></code></span></li>
</ol>
<div id="_mcePaste" style="overflow:hidden;position:absolute;left:-10000px;top:0;width:1px;height:1px;"><!--[if gte mso 9]&gt;  Normal 0     false false false  EN-US X-NONE X-NONE                           &lt;![endif]--><!--[if gte mso 9]&gt;                                                                                                                                            &lt;![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:1; 	mso-generic-font-family:roman; 	mso-font-format:other; 	mso-font-pitch:variable; 	mso-font-signature:0 0 0 0 0 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-520092929 1073786111 9 0 415 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin-top:0in; 	mso-para-margin-right:0in; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:&quot;Times New Roman&quot;; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-bidi-theme-font:minor-bidi;} --> <!--[endif]--></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;text-indent:.25in;"><span style="font-size:8pt;line-height:115%;font-family:&quot;">Case Example: </span></p>
<p class="MsoNormal" style="margin:0 0 .0001pt 1in;"><span style="font-size:8pt;line-height:115%;font-family:&quot;">Make a validation form to submit data customer with properties name, lastname and address. </span></p>
<p class="MsoNormal" style="margin:0 0 .0001pt 1in;"><span style="font-size:8pt;line-height:115%;font-family:&quot;">Before submit the form user must fill the name without number and with minimal character, </span></p>
<p class="MsoNormal" style="margin:0 0 .0001pt 1in;"><span style="font-size:8pt;line-height:115%;font-family:&quot;">lastname must be filled and address must be filled too.</span></p>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sahabatit.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sahabatit.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sahabatit.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sahabatit.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sahabatit.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sahabatit.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sahabatit.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sahabatit.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sahabatit.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sahabatit.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sahabatit.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sahabatit.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sahabatit.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sahabatit.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sahabatit.wordpress.com&amp;blog=7139146&amp;post=9&amp;subd=sahabatit&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sahabatit.wordpress.com/2009/07/09/rcp-validation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f19d83b4d7ed9c5bca1cd995657fe258?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sahabatit</media:title>
		</media:content>
	</item>
		<item>
		<title>SahabatIT &#8230;</title>
		<link>http://sahabatit.wordpress.com/2009/03/28/hello-world/</link>
		<comments>http://sahabatit.wordpress.com/2009/03/28/hello-world/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 11:32:29 +0000</pubDate>
		<dc:creator>sahabatit</dc:creator>
				<category><![CDATA[Tidak Ada Kategori]]></category>
		<category><![CDATA[dunia IT]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[sahabat]]></category>
		<category><![CDATA[sahabat IT]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Selamat datang di sahabatIT. Jadikan blog ini jadi sahabat IT kamu. Penulis diblog ini kebetulan suka bangat dengan dunia IT dan kebetulan dia juga adalah seorang yang bergelut dibidang IT. Jadi dengan memanfaatkan blog ini mungkin banyak orang yang bisa &#8230; <a href="http://sahabatit.wordpress.com/2009/03/28/hello-world/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sahabatit.wordpress.com&amp;blog=7139146&amp;post=1&amp;subd=sahabatit&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Selamat datang di sahabatIT. Jadikan blog ini jadi sahabat IT kamu. Penulis diblog ini kebetulan suka bangat dengan dunia IT dan kebetulan dia juga adalah seorang yang bergelut dibidang IT. Jadi dengan memanfaatkan blog ini mungkin banyak orang yang bisa mengerti dunia IT. Mudah-mudah aja ya &#8230;:)</p>
<p>Jika kamu memiliki pertanyaan mengenai IT silahkan saja tanya kesini, mungkin saya bisa membantunya.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sahabatit.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sahabatit.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sahabatit.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sahabatit.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sahabatit.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sahabatit.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sahabatit.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sahabatit.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sahabatit.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sahabatit.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sahabatit.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sahabatit.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sahabatit.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sahabatit.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sahabatit.wordpress.com&amp;blog=7139146&amp;post=1&amp;subd=sahabatit&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sahabatit.wordpress.com/2009/03/28/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f19d83b4d7ed9c5bca1cd995657fe258?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sahabatit</media:title>
		</media:content>
	</item>
	</channel>
</rss>
