@Override
	public Component getListCellRendererComponent(JList<? extends T> list, T value, int index,
			boolean isSelected, boolean cellHasFocus) {
		JLabel label = (JLabel) defaultRenderer.getListCellRendererComponent(list, value, index,
			isSelected, cellHasFocus);
		label.setText(owner.getCompletionDisplay(value));
		if (label.getText().equals("")) {
			label.setText(" ");
		}
		Font font = owner.getCompletionFont(value, isSelected, cellHasFocus);
		if (font != null) {
			label.setFont(font);
		}

		Icon icon = owner.getCompletionIcon(value, isSelected, cellHasFocus);
		if (icon != null) {
			label.setIcon(icon);
		}

		Color fg = owner.getCompletionForeground(value, isSelected, cellHasFocus);
		if (fg != null) {
			label.setForeground(fg);
		}
		Color bg = owner.getCompletionBackground(value, isSelected, cellHasFocus);
		if (bg != null) {
			label.setBackground(bg);
		}
		return label;
	}
Create a renderer owned by the given autocompleter.
@param owner the autocompleter that uses (or will use) this renderer.
Ghidra/Framework/Docking/src/main/java/docking/widgets/autocomplete/AutocompletionCellRenderer.java