private JPanel buildInnerOptionsPanel(List<Option> optionGroup) {
		JPanel panel = new JPanel(getBestLayout());

		for (Option option : optionGroup) {
			Component editorComponent = getEditorComponent(option);
			if (editorComponent != null) {
				// Editor not available - omit option from panel
				GLabel label = new GLabel(option.getName(), SwingConstants.RIGHT);
				panel.add(label);
				editorComponent.setName(option.getName()); // set the component name to the option name
				editorComponent.getAccessibleContext().setAccessibleName(option.getName());
				panel.add(editorComponent);
			}
		}
		return panel;
	}
Construct a new OptionsEditorPanel
@param options the list of options to be edited.
@param addressFactoryService a service for providing an appropriate AddressFactory if needed
for editing an options.  If null, address based options will not be available.
Ghidra/Features/Base/src/main/java/ghidra/app/util/OptionsEditorPanel.java