private void gatherCheckBoxes(Container container, ArrayList<JCheckBox> list) {
		Component[] comps = container.getComponents();
		for (Component element : comps) {
			if (element instanceof JCheckBox) {
				list.add((JCheckBox) element);
			}
			if (element instanceof Container) {
				Container subContainer = (Container) element;
				gatherCheckBoxes(subContainer, list);
			}
		}
	}
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