7032791: TableCellRenderer.getTableCellRendererComponent() doesn't accept null JTable with GTK+ L&F

Reviewed-by: rupashka
This commit is contained in:
Alexander Potochkin 2011-04-04 21:37:10 +04:00
parent 650afe234d
commit f6697e15da

View File

@ -786,9 +786,9 @@ public class SynthTableUI extends BasicTableUI
hasFocus, row, column);
setIcon(null);
Class columnClass = table.getColumnClass(column);
configureValue(value, columnClass);
if (table != null) {
configureValue(value, table.getColumnClass(column));
}
return this;
}