@Override
		public Component getTableCellRendererComponent(GTableCellRenderingData data) {

			Component renderer;
			if (delegate == null) {
				renderer = super.getTableCellRendererComponent(data);
			}
			else {
				if (delegate instanceof GTableCellRenderer) {
					renderer = ((GTableCellRenderer) delegate).getTableCellRendererComponent(data);
				}
				else {
					renderer = delegate.getTableCellRendererComponent(data.getTable(),
						data.getValue(), data.isSelected(), data.hasFocus(), data.getRowViewIndex(),
						data.getColumnViewIndex());
				}
			}

			AddressableRowObject ro = (AddressableRowObject) data.getRowObject();
			if (sharedPending.contains(ro)) {
				renderer.setBackground(pendingColor);
				renderer.setForeground(data.getTable().getSelectionForeground());
				renderer.setForeground(Colors.FOREGROUND);
			}

			return renderer;
		}
Sets the column sort state for this dialog.   The {@link TableSortState} allows for
combinations of sorted columns in ascending or descending order.

<P>This method should be called after all custom columns have been added via
{@link #addCustomColumn(ColumnDisplay)}.

@param state the sort state
@see #setSortColumn(int)
@throws IllegalArgumentException if an invalid column is requested for sorting
Ghidra/Features/Base/src/main/java/ghidra/app/tablechooser/TableChooserDialog.java