private void fontChanged() {
			FontWrapper fontWrapper = (FontWrapper) fontCombo.getSelectedItem();
			String fontNameChoice = fontWrapper.getFontName();
			int styleChoice = styleCombo.getSelectedIndex();
			int sizeChoice = (Integer) sizeCombo.getSelectedItem();
			Font font = new Font(fontNameChoice, styleChoice, sizeChoice);
			updatePreviewLabel(font);
			// allows debugging without hanging amazon aws
			Swing.runLater(() -> setValue(font));
		}
Property Editor for editing {@link Font}s
Ghidra/Framework/Docking/src/main/java/docking/options/editor/FontPropertyEditor.java