Put a space to the right of all right-aligned numbers in tables.

Strings are left-aligned, and when the two are next to each other it can
look bad.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1725 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
ray
2005-11-04 18:39:10 +00:00
parent ee1eb9000e
commit e6fe41e4a7
@@ -23,7 +23,7 @@ public class IntegerTableCellRenderer extends DefaultTableCellRenderer
protected void setValue (Object value)
{
if ((value instanceof Integer) || (value instanceof Long)) {
setText(_nfi.format(value));
setText(_nfi.format(value) + " ");
} else {
super.setValue(value);
}