@Override
		public Component getTableCellRendererComponent(GTableCellRenderingData data) {

			JLabel renderer = (JLabel) super.getTableCellRendererComponent(data);

			E e = (E) data.getValue();
			renderer.setHorizontalAlignment(SwingConstants.CENTER);
			renderer.setText("");
			renderer.setIcon(e != null ? icons[e.ordinal()] : null);
			renderer.setToolTipText(e != null ? toolTips[e.ordinal()] : null);
			return renderer;
		}
Table column renderer to render an enum value as a icon

@param <E> enum type
Ghidra/Features/PDB/src/main/java/pdb/symbolserver/ui/SymbolServerTableModel.java