@Override
	public void setValue(Object o) {
		if (Objects.equals(o, getValue())) {
			return;
		}
		Font font = (Font) o;
		previewButton.setFont(font);
		fontPropertyEditor.setValue(font);
		super.setValue(font);
	}
Convenience method for directly showing a dialog for editing fonts
Ghidra/Framework/Docking/src/main/java/docking/options/editor/FontEditor.java