private void setWaitPanelVisible(final boolean visible) {
		Swing.runLater(() -> {
			if (visible) {
				card.show(cardPanel, CARD_WAIT);
			}
			else {
				updateDirectoryPresentationMode();
			}
		});
	}
Displays the WAIT panel. It handles the Swing thread issues.
Ghidra/Framework/Docking/src/main/java/docking/widgets/filechooser/GhidraFileChooser.java