Revision: 1219
Author:   ge0ffrey
Date:     2006-07-03 07:17:07 -0700 (Mon, 03 Jul 2006)
ViewCVS:  http://svn.sourceforge.net/spring-rich-c/?rev=1219&view=rev

Log Message:
-----------
RCP-377 shuttle list doesn't resize

Modified Paths:
--------------
    
trunk/spring-richclient/sandbox/src/main/java/org/springframework/richclient/components/ShuttleList.java
Modified: 
trunk/spring-richclient/sandbox/src/main/java/org/springframework/richclient/components/ShuttleList.java
===================================================================
--- 
trunk/spring-richclient/sandbox/src/main/java/org/springframework/richclient/components/ShuttleList.java
    2006-06-28 16:35:01 UTC (rev 1218)
+++ 
trunk/spring-richclient/sandbox/src/main/java/org/springframework/richclient/components/ShuttleList.java
    2006-07-03 14:17:07 UTC (rev 1219)
@@ -3,12 +3,15 @@
  */
 package org.springframework.richclient.components;
 
+import org.springframework.richclient.layout.TableLayoutBuilder;
+
 import java.awt.BorderLayout;
 import java.awt.Dimension;
 import java.awt.Font;
 import java.awt.GridBagConstraints;
 import java.awt.GridBagLayout;
 import java.awt.Insets;
+import java.awt.Color;
 import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
 import java.util.ArrayList;
@@ -273,7 +276,7 @@
         _sourcePanel.add(BorderLayout.NORTH, _sourceLabel);
         JScrollPane sourceScroller = new JScrollPane(_sourceList);
         _sourcePanel.add(BorderLayout.CENTER, sourceScroller);
-        gbl.setConstraints(sourceScroller, gbc);
+        gbl.setConstraints(_sourcePanel, gbc);
 
         gbc.fill = GridBagConstraints.VERTICAL;
         gbc.weightx = 0;
@@ -286,7 +289,7 @@
         _chosenPanel.add(BorderLayout.NORTH, _chosenLabel);
         JScrollPane chosenScroller = new JScrollPane(_chosenList);
         _chosenPanel.add(BorderLayout.CENTER, chosenScroller);
-        gbl.setConstraints(chosenScroller, gbc);
+        gbl.setConstraints(_chosenPanel, gbc);
 
         gbc.fill = GridBagConstraints.NONE;
         gbc.weightx = 0.0;


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