private Frame getFrameForWindow(Window coolWindow) {
		if (coolWindow == null) {
			return null;
		}
		if (coolWindow instanceof Frame) {
			return (Frame) coolWindow;
		}

		Container windowParent = coolWindow.getParent();
		if ((windowParent instanceof Window)) {
			return getFrameForWindow((Window) windowParent);
		}

		return null;
	}
Set the Icon this window.
@param iconImage image icon
Ghidra/Framework/Docking/src/main/java/docking/DetachedWindowNode.java