@Override
		protected TaskRunner createTaskRunner(Task task, Component parent, int delay,
				int dialogWidth) {

			return new TaskRunner(task, parent, delay, dialogWidth) {
				@Override
				protected TaskDialog buildTaskDialog() {
					taskDialog = super.buildTaskDialog();
					return taskDialog;
				}
			};
		}
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