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:
@@ -23,7 +23,7 @@ public class IntegerTableCellRenderer extends DefaultTableCellRenderer
|
|||||||
protected void setValue (Object value)
|
protected void setValue (Object value)
|
||||||
{
|
{
|
||||||
if ((value instanceof Integer) || (value instanceof Long)) {
|
if ((value instanceof Integer) || (value instanceof Long)) {
|
||||||
setText(_nfi.format(value));
|
setText(_nfi.format(value) + " ");
|
||||||
} else {
|
} else {
|
||||||
super.setValue(value);
|
super.setValue(value);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user