private JComponent buildSymbolsFileField() {
		JPanel panel = new JPanel(new BorderLayout());
		symbolsFileTextField = new JTextField();
		symbolsFileTextField.getAccessibleContext().setAccessibleName("Symbols File");
		panel.add(symbolsFileTextField, BorderLayout.CENTER);
		JButton browseButton = new BrowseButton();
		browseButton.getAccessibleContext().setAccessibleName("Browse");
		browseButton.addActionListener(e -> {
			GhidraFileChooser chooser = new GhidraFileChooser(tool.getToolFrame());
			chooser.setTitle("Choose Common Symbols File");
			chooser.setFileSelectionMode(GhidraFileChooserMode.FILES_ONLY);
//			chooser.setFileFilter(null);
			File selectedFile = chooser.getSelectedFile();
			if (selectedFile != null) {
				symbolsFileTextField.setText(selectedFile.getAbsolutePath());
			}
			chooser.dispose();
		});
		symbolsFileTextField.getDocument().addUndoableEditListener(e -> updateOkEnablement());
		panel.add(browseButton, BorderLayout.EAST);
		panel.getAccessibleContext().setAccessibleName("Symbols File");
		return panel;
	}
Dialog for gathering information to populate a fid database.
Ghidra/Features/FunctionID/src/main/java/ghidra/feature/fid/plugin/PopulateFidDialog.java