void dispose() {

		disposed = true;

		if (comp != null) {
			comp.dispose();
			comp = null;
		}

		if (compNode == null) {
			return;
		}

		WindowNode windowNode = compNode.getTopLevelNode();
		if (windowNode != null) {
			windowNode.componentRemoved(this);
		}

		compNode.remove(this);
		compNode = null;
	}
Sets the active state.
@param doShow true to show the component, false to hide it.
Ghidra/Framework/Docking/src/main/java/docking/ComponentPlaceholder.java