@Deprecated
	public static JDialog waitForJDialog(Window window, String title, int timeoutMS) {

		int totalTime = 0;
		while (totalTime <= DEFAULT_WAIT_TIMEOUT) {

			Set<Window> winList = getWindows(window);
			for (Window w : winList) {
				if ((w instanceof JDialog) && w.isShowing()) {
					String windowTitle = getTitleForWindow(w);
					if (title.equals(windowTitle)) {
						return (JDialog) w;
					}
				}
			}

			totalTime += sleep(DEFAULT_WAIT_DELAY);
		}
		throw new AssertionFailedError("Timed-out waiting for window with title '" + title + "'");
	}
Waits for the JDialog with the indicated title and that is parented to the indicated window
<P>
Note: Sometimes the task dialog might have the same title as the dialog you pop up and
you want to get yours instead of the one for the task monitor.

@param window the parent window
@param title the title of the dialog
@param timeoutMS Maximum time to wait for the dialog
@return the dialog
@deprecated use {@link #waitForJDialog(String)} instead
Ghidra/Framework/Docking/src/main/java/docking/test/AbstractDockingTest.java