public Component getTableCellRendererComponent(GTableCellRenderingData data) {

		Object value = data.getValue();
		JTable table = data.getTable();
		int row = data.getRowViewIndex();
		boolean isSelected = data.isSelected();
		boolean hasFocus = data.hasFocus();
		Settings settings = data.getColumnSettings();

		if (value instanceof Number n) {
			setHorizontalAlignment(SwingConstants.RIGHT);
			setText(formatNumber(n, settings));
		}
		else {
			setText(getText(value));
			setHorizontalAlignment(SwingConstants.LEFT);
		}

		TableModel model = table.getModel();
		setFont(getDefaultFont());

		if (isSelected) {
			setForeground(table.getSelectionForeground());
			setBackground(table.getSelectionBackground());
			setOpaque(true);
		}
		else {
			setForegroundColor(table, model, value);

			if (row == dropRow) {
				setBackground(BG_DRAG);
			}
			else {
				setBackground(getAlternatingBackgroundColor(table, row));
			}
		}

		setBorder(hasFocus ? focusBorder : noFocusBorder);
		return this;
	}
Provide basic cell rendering -- setting foreground and background colors, font, text,
alignment, drop color, and border. Additional data that may be of use to the renderer is
passed through the {@link docking.widgets.table.GTableCellRenderingData} object.

@param data Context data used in the rendering of a data cell.
@return The component used for drawing the table cell.
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/GTableCellRenderer.java