void addToNewWindow(ComponentPlaceholder placeholder, Point loc) {
		ComponentNode node = new ComponentNode(winMgr);
		placeholder.setNode(node);
		node.parent = this;
		DetachedWindowNode windowNode =
			new DetachedWindowNode(winMgr, this, node, dropTargetFactory);
		if (loc != null) {
			windowNode.setInitialLocation(loc.x, loc.y);
		}
		detachedWindows.add(windowNode);
		placeholder.getNode().add(placeholder);
		placeholder.requestFocusWhenReady();
		notifyWindowAdded(windowNode);
	}
Creates a new sub-window for the given component a positions it at the given location.

@param placeholder the component to be put in its own window.
@param loc the location for the new window.
Ghidra/Framework/Docking/src/main/java/docking/RootNode.java