6668281: NullPointerException in DefaultTableCellHeaderRenderer.getColumnSortOrder()

Reviewed-by: alexp
This commit is contained in:
Igor Kushnirskiy 2008-07-21 10:21:42 -04:00
parent e91ae90285
commit 7f530b42c8

View File

@ -124,7 +124,7 @@ public class WindowsTableHeaderUI extends BasicTableHeaderUI {
setIcon(null);
sortIcon = null;
SortOrder sortOrder =
getColumnSortOrder(header.getTable(), column);
getColumnSortOrder(table, column);
if (sortOrder != null) {
switch (sortOrder) {
case ASCENDING: