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

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

			styleCombo =
				new GComboBox<>(new String[] { "PLAIN", "BOLD", "ITALIC", "BOLD & ITALIC" });
			styleCombo.setMaximumRowCount(9);
			styleCombo.addActionListener(actionListener);
			styleCombo.getAccessibleContext().setAccessibleName("Style");
			panel.add(styleCombo);
			panel.getAccessibleContext().setAccessibleName("Style");
			return panel;
		}
Property Editor for editing {@link Font}s
Ghidra/Framework/Docking/src/main/java/docking/options/editor/FontPropertyEditor.java