private void installProgressMonitor() {
		Swing.runIfSwingOrRunLater(() -> {

			if (isInstalled(monitorComponent)) {
				return;
			}

			mainPanel.removeAll();
			mainPanel.add(monitorComponent, BorderLayout.CENTER);
			repack();
		});
	}
Adds the panel that contains the progress bar to the dialog
Ghidra/Framework/Docking/src/main/java/ghidra/util/task/TaskDialog.java