Author: fmui Date: Tue Dec 7 12:51:00 2010 New Revision: 1043016 URL: http://svn.apache.org/viewvc?rev=1043016&view=rev Log: CMIS Workbench: fixed display of some property values (Swing bug workaround) Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/swing/CollectionRenderer.java Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/swing/CollectionRenderer.java URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/swing/CollectionRenderer.java?rev=1043016&r1=1043015&r2=1043016&view=diff ============================================================================== --- incubator/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/swing/CollectionRenderer.java (original) +++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/swing/CollectionRenderer.java Tue Dec 7 12:51:00 2010 @@ -59,6 +59,7 @@ public class CollectionRenderer extends StringBuilder sb = new StringBuilder(""); if (col != null) { for (Object o : col) { + sb.append(""); // workaround for a bug in Swing if (o == null) { sb.append("null"); } else if (o instanceof GregorianCalendar) { @@ -68,7 +69,7 @@ public class CollectionRenderer extends } else { sb.append(o.toString()); } - sb.append("
"); + sb.append("

"); } } sb.append("");