private Component buildSizePanel() {
			JPanel panel = new JPanel(new GridLayout(2, 1));

			GDLabel sizeLabel = new GDLabel("Sizes");
			sizeLabel.getAccessibleContext().setAccessibleName("Sizes");
			Gui.registerFont(sizeLabel, Font.BOLD);
			sizeLabel.setHorizontalAlignment(SwingConstants.CENTER);
			panel.add(sizeLabel);

			sizeCombo =
				new GComboBox<>(IntStream.rangeClosed(1, 72).boxed().toArray(Integer[]::new));
			sizeCombo.setMaximumRowCount(9);
			sizeCombo.addActionListener(actionListener);
			sizeCombo.getAccessibleContext().setAccessibleName("Size");
			panel.add(sizeCombo);
			panel.getAccessibleContext().setAccessibleName("Size");
			return panel;
		}
Property Editor for editing {@link Font}s
Ghidra/Framework/Docking/src/main/java/docking/options/editor/FontPropertyEditor.java