private void browse() {
		initChooser();
		String filePathText = filePathTextField.getText();
		filePathText = filePathText.isBlank() && file != null ? file.getPath() : "";
		if (!filePathText.isBlank()) {
			chooser.setSelectedFile(new File(filePathText));
		}
		File selectedFile = chooser.getSelectedFile();
		if (selectedFile != null) {
			filePathTextField.setText(selectedFile.getPath());
		}
		filePathTextField.requestFocusInWindow();
	}
Prompts the user to entry the path to a file and/or directory,
or to pick it using a browser dialog.

@param title the dialog title
@param prompt HTML enabled prompt
@param chooseButtonText text of the choose button in the browser dialog
@param directory the initial directory of the browser dialog
@param initialFileValue the initial value to pre-populate the input field with
@param chooserMode {@link GhidraFileChooserMode} of the browser dialog
@param fileFilters optional {@link GhidraFileFilter filters}
@return the {@link File} the user entered / picked, or null if canceled
Ghidra/Features/PDB/src/main/java/pdb/symbolserver/ui/FilePromptDialog.java