private void setSelectedFontName(String name) {
		int n = fontNameField.getItemCount();
		for (int i = 0; i < n; i++) {
			if (name.equalsIgnoreCase(fontNameField.getItemAt(i))) {
				fontNameField.setSelectedIndex(i);
				return;
			}
		}
	}
Constructor

@param font the base font for the fields.
@param listener the listener to be notified when options change.
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/options/OptionsGui.java