@Override
	public void setValue(Object value) {
		if (fontChooserPanel != null) {
			fontChooserPanel.updateControls((Font) value);
		}
		if (!Objects.equals(value, getValue())) {
			super.setValue(value);
		}
	}
Property Editor for editing {@link Font}s
Ghidra/Framework/Docking/src/main/java/docking/options/editor/FontPropertyEditor.java