Revision: 1358
          http://svn.sourceforge.net/spring-rich-c/?rev=1358&view=rev
Author:   ge0ffrey
Date:     2006-08-31 08:24:52 -0700 (Thu, 31 Aug 2006)

Log Message:
-----------
compontFactory might not be initialized (for example in form that starts with 
addTextArea())

Modified Paths:
--------------
    
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/form/builder/AbstractFormBuilder.java

Modified: 
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/form/builder/AbstractFormBuilder.java
===================================================================
--- 
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/form/builder/AbstractFormBuilder.java
  2006-08-31 10:05:11 UTC (rev 1357)
+++ 
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/form/builder/AbstractFormBuilder.java
  2006-08-31 15:24:52 UTC (rev 1358)
@@ -134,7 +134,7 @@
     }
 
     protected JPasswordField createPasswordField(String fieldName) {
-        return componentFactory.createPasswordField();
+        return getComponentFactory().createPasswordField();
     }
 
     /**
@@ -145,7 +145,7 @@
     }
 
     protected JComponent createTextArea(String fieldName) {
-        return componentFactory.createTextArea(5, 40);
+        return getComponentFactory().createTextArea(5, 40);
     }
 
     /**


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
spring-rich-c-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spring-rich-c-cvs

Reply via email to