git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'Jalview-JS/develop' of https://source.jalview.org/git/jalview.git into...
[jalview.git]
/
src
/
jalview
/
util
/
TableSorter.java
diff --git
a/src/jalview/util/TableSorter.java
b/src/jalview/util/TableSorter.java
index
77e0577
..
e2a0aca
100755
(executable)
--- a/
src/jalview/util/TableSorter.java
+++ b/
src/jalview/util/TableSorter.java
@@
-1,6
+1,6
@@
/*
/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9)
- * Copyright (C) 2015 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
* This file is part of Jalview.
*
*
* This file is part of Jalview.
*
@@
-192,8
+192,8
@@
public class TableSorter extends AbstractTableModel
.getDefaultRenderer();
if (defaultRenderer instanceof SortableHeaderRenderer)
{
.getDefaultRenderer();
if (defaultRenderer instanceof SortableHeaderRenderer)
{
- this.tableHeader
- .setDefaultRenderer(((SortableHeaderRenderer) defaultRenderer).tableCellRenderer);
+ this.tableHeader.setDefaultRenderer(
+ ((SortableHeaderRenderer) defaultRenderer).tableCellRenderer);
}
}
this.tableHeader = tableHeader;
}
}
this.tableHeader = tableHeader;
@@
-595,7
+595,8
@@
public class TableSorter extends AbstractTableModel
JLabel l = (JLabel) c;
l.setHorizontalTextPosition(JLabel.LEFT);
int modelColumn = table.convertColumnIndexToModel(column);
JLabel l = (JLabel) c;
l.setHorizontalTextPosition(JLabel.LEFT);
int modelColumn = table.convertColumnIndexToModel(column);
- l.setIcon(getHeaderRendererIcon(modelColumn, l.getFont().getSize()));
+ l.setIcon(
+ getHeaderRendererIcon(modelColumn, l.getFont().getSize()));
}
return c;
}
}
return c;
}