@Override
	public Component getTableCellRendererComponent(GTableCellRenderingData data) {

		super.getTableCellRendererComponent(data);

		Object value = data.getValue();

		setForeground(data.isSelected() ? FG_SELECTED : FG);

		if (value.toString().equalsIgnoreCase(Level.DEBUG.toString())) {
			setBackground(DEBUG_COLOR);
		}
		else if (value.toString().equalsIgnoreCase(Level.TRACE.toString())) {
			setBackground(TRACE_COLOR);
		}
		else if (value.toString().equalsIgnoreCase(Level.WARN.toString())) {
			setBackground(WARN_COLOR);
		}
		else if (value.toString().equalsIgnoreCase(Level.INFO.toString())) {
			setBackground(INFO_COLOR);
		}
		else if (value.toString().equalsIgnoreCase(Level.ERROR.toString())) {
			setBackground(ERROR_COLOR);
		}
		else if (value.toString().equalsIgnoreCase(Level.FATAL.toString())) {
			setBackground(FATAL_COLOR);
		}

		return this;
	}
Renderer for the {@link FVTable} that will set the background color based on
the text contents. This is intended to be used only for the log level 
column.
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/logviewer/ui/LogLevelTableCellRenderer.java