private void updateNavigationButtons() {
		backButton.setEnabled(history.hasPrevious());
		forwardButton.setEnabled(history.hasNext());

		File dir = currentDirectory();
		boolean enable = dir != null && dir.getParentFile() != null;
		upLevelButton.setEnabled(enable);
	}
Displays the WAIT panel. It handles the Swing thread issues.
Ghidra/Framework/Docking/src/main/java/docking/widgets/filechooser/GhidraFileChooser.java