private JPanel buildOutputOptionsPanel() {

		JPanel outputChoicesPanel = new JPanel();
		outputChoicesPanel.setLayout(new BoxLayout(outputChoicesPanel, BoxLayout.LINE_AXIS));
		outputChoicesPanel.getAccessibleContext().setAccessibleName("Output Choices");

		GCheckBox stripLeadingCb = new GCheckBox("Strip leading path", stripLeading);
		stripLeadingCb.addChangeListener(e -> setStripLeading(stripLeadingCb.isSelected()));
		stripLeadingCb.setToolTipText("The destination folder for imported files will not " +
			"include the source file's leading path");
		stripLeadingCb.getAccessibleContext().setAccessibleName("Strip Leading Path");

		GCheckBox stripContainerCb = new GCheckBox("Strip container paths", stripContainer);
		stripContainerCb.addChangeListener(e -> setStripContainer(stripContainerCb.isSelected()));
		stripContainerCb.setToolTipText(
			"The destination folder for imported files will not include any source path names");
		stripContainerCb.getAccessibleContext().setAccessibleName("Strip Container Paths");

		GCheckBox openAfterImportCb = new GCheckBox("Open after import", openAfterImporting);
		openAfterImportCb
				.addChangeListener(e -> setOpenAfterImporting(openAfterImportCb.isSelected()));
		openAfterImportCb.setToolTipText("Open imported binaries in Code Browser");
		openAfterImportCb.getAccessibleContext().setAccessibleName("Open After Import");

		outputChoicesPanel.add(stripLeadingCb);
		outputChoicesPanel.add(stripContainerCb);
		if (programManager != null) {
			outputChoicesPanel.add(openAfterImportCb);
		}

		// add some spacing between this panel and the one below it
		outputChoicesPanel.setBorder(BorderFactory.createEmptyBorder(0, 0, 10, 0));

		BatchProjectDestinationPanel destPanel =
			new BatchProjectDestinationPanel(getComponent(), destinationFolder) {
				@Override
				public void onProjectDestinationChange(DomainFolder newFolder) {
					destinationFolder = newFolder;
				}
			};

		JPanel outputOptionsPanel = new JPanel(new BorderLayout());
		outputOptionsPanel.setBorder(createTitledBorder("Import Options", true));
		outputOptionsPanel.add(outputChoicesPanel, BorderLayout.NORTH);
		outputOptionsPanel.add(destPanel, BorderLayout.SOUTH);
		outputOptionsPanel.getAccessibleContext().setAccessibleName("Output Options");
		return outputOptionsPanel;
	}
Shows the batch import dialog (via runSwingLater) and prompts the user to select
a file if the supplied {@code batchInfo} is empty.
<p>
The dialog will chain to the {@link ImportBatchTask} when the user clicks the
OK button.

@param tool {@link PluginTool} that will be the parent of the dialog
@param batchInfo optional {@link BatchInfo} instance with already discovered applications, or null.
@param initialFiles optional {@link List} of {@link FSRL files} to add to the batch import dialog, or null.
@param defaultFolder optional default destination folder for imported files or null for root folder.
@param programManager optional {@link ProgramManager} that will be used to open the newly imported
binaries.
Ghidra/Features/Base/src/main/java/ghidra/plugins/importer/batch/BatchImportDialog.java