public static Window windowForComponent(Component c) {
		return WindowUtilities.windowForComponent(c);
	}
Returns the window parent of c. If c is a window, then c is returned.

<P>
Warning: this differs from {@link SwingUtilities#windowForComponent(Component)} in that the
latter method will not return the given component if it is a window.

@param c the component
@return the window
Ghidra/Framework/Generic/src/main/java/generic/test/AbstractGenericTest.java