Revision: 1767
          http://svn.sourceforge.net/spring-rich-c/?rev=1767&view=rev
Author:   jhoskens
Date:     2007-06-14 04:31:19 -0700 (Thu, 14 Jun 2007)

Log Message:
-----------
bug: colorChanger was created with component instead of innerComponent (the 
latter is used to extract components from scrollpanes)

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

Modified: 
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/form/builder/support/ColorValidationInterceptorFactory.java
===================================================================
--- 
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/form/builder/support/ColorValidationInterceptorFactory.java
    2007-06-11 12:43:11 UTC (rev 1766)
+++ 
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/form/builder/support/ColorValidationInterceptorFactory.java
    2007-06-14 11:31:19 UTC (rev 1767)
@@ -59,9 +59,9 @@
         }
 
         public void processComponent(String propertyName, JComponent 
component) {
-            JComponent innerComp = getInnerComponent(component);
-            if (innerComp instanceof JTextComponent) {
-                ColorChanger colorChanger = new ColorChanger(component);
+            JComponent innerComponent = getInnerComponent(component);
+            if (innerComponent instanceof JTextComponent) {
+                ColorChanger colorChanger = new ColorChanger(innerComponent);
                 registerGuarded(propertyName, colorChanger);
             }
         }


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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
spring-rich-c-cvs mailing list
spring-rich-c-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spring-rich-c-cvs

Reply via email to