public void updateControls(Font font) {
			if (font == null) {
				return;
			}
			updatePreviewLabel(font);

			fontCombo.removeActionListener(actionListener);
			sizeCombo.removeActionListener(actionListener);
			styleCombo.removeActionListener(actionListener);

			FontWrapper fontWrapper = new FontWrapper(font.getName());
			updateComboBoxModeIfNeeded(fontWrapper);

			int styleChoice = font.getStyle();
			int size = font.getSize();
			fontCombo.setSelectedItem(fontWrapper);
			sizeCombo.setSelectedItem(size);
			styleCombo.setSelectedIndex(styleChoice);

			fontCombo.addActionListener(actionListener);
			sizeCombo.addActionListener(actionListener);
			styleCombo.addActionListener(actionListener);

		}
Property Editor for editing {@link Font}s
Ghidra/Framework/Docking/src/main/java/docking/options/editor/FontPropertyEditor.java