void updateDialog() {

		if (window != null && childComp != null) {
			bounds = window.getBounds();
			winMgr.getMainWindow().requestFocus();
			getContentPane().remove(childComp);
			window.dispose();
			createWindow(childComp);
		}
	}
Sets the visible state of the dialog.
@param state true to show, false to hide.
Ghidra/Framework/Docking/src/main/java/docking/DetachedWindowNode.java