@Override
			public void mousePressed(MouseEvent e) {
				int index = tabbedPane.indexAtLocation(e.getX(), e.getY());
				if (index >= 0) {
					Component selectedComponent = tabbedPane.getComponentAt(index);
					focusComponent(selectedComponent);
				}
			}
Removes the component from this node (and the manager), but possibly keeps an empty object as
a placeholder.
@param placeholder the placeholder object to be removed.
@param keepEmptyPlaceholder flag indicating to keep a placeholder object.
Ghidra/Framework/Docking/src/main/java/docking/ComponentNode.java