changeset 615:fdbc0517be43

6668281: NullPointerException in DefaultTableCellHeaderRenderer.getColumnSortOrder() Reviewed-by: alexp
author idk
date Mon, 21 Jul 2008 10:21:42 -0400
parents f7585c3756ee
children 8b59beb64ee9
files src/share/classes/com/sun/java/swing/plaf/windows/WindowsTableHeaderUI.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/sun/java/swing/plaf/windows/WindowsTableHeaderUI.java	Fri Jul 18 18:26:22 2008 +0400
+++ b/src/share/classes/com/sun/java/swing/plaf/windows/WindowsTableHeaderUI.java	Mon Jul 21 10:21:42 2008 -0400
@@ -124,7 +124,7 @@
                 setIcon(null);
                 sortIcon = null;
                 SortOrder sortOrder =
-                    getColumnSortOrder(header.getTable(), column);
+                    getColumnSortOrder(table, column);
                 if (sortOrder != null) {
                     switch (sortOrder) {
                     case ASCENDING: