private JPanel buildHeaderPanel() {

		JPanel headerPanel = new JPanel(new GridBagLayout());
		GridBagConstraints gbc = new GridBagConstraints();

		gbc.gridx = 0;
		//	gbc.insets = new Insets(PAD, PAD, PAD, PAD);
		JButton[] navButtons = buildNavigationButtons();
		for (JButton element : navButtons) {
			headerPanel.add(element, gbc);
			gbc.gridx++;
		}

		gbc.insets = new Insets(PAD, PAD, PAD, PAD);
		int afterPathLabel = gbc.gridx;
		gbc.gridx++; // leave this slot open

		gbc.gridx++;
		gbc.insets = new Insets(PAD, 0, PAD, PAD);
		JButton[] buttons = buildNonNavigationButtons();
		for (JButton element : buttons) {
			headerPanel.add(element, gbc);
			gbc.gridx++;
		}

		gbc.gridx = afterPathLabel;
		gbc.fill = GridBagConstraints.HORIZONTAL;
		gbc.weightx = 1.0;
		currentPathTextField = buildPathTextField();
		currentPathTextField.getAccessibleContext().setAccessibleName("Path");
		headerPanel.add(currentPathTextField, gbc);
		headerPanel.getAccessibleContext().setAccessibleName("Path Navigation");
		return headerPanel;
	}
Constructs a new ghidra file chooser

@param model the file chooser model
@param parent the parent component
Ghidra/Framework/Docking/src/main/java/docking/widgets/filechooser/GhidraFileChooser.java