@Override
		public void run(TaskMonitor monitor) {
			postEvent(getName() + " started...");
			waitFor(latch);
			sleep(DELAY_SLOW);
			threadsFinished.countDown();
			postEvent(getName() + " finished.");
		}
Launches the task and waits until the dialog is shown
@param task the task to launch
Ghidra/Framework/Docking/src/test/java/ghidra/util/task/AbstractTaskTest.java