void setVisible(boolean state) {
		Window mainWindow = getMainWindow();
		mainWindow.setVisible(state);

		if (state) {
			WindowUtilities.ensureOnScreen(mainWindow);
		}

		Iterator<DetachedWindowNode> it = detachedWindows.iterator();
		while (it.hasNext()) {
			DetachedWindowNode windowNode = it.next();
			windowNode.setVisible(state);
		}
	}
Sets the main frame and all sub windows visible state.

@param state true to show them, false to make them invisible.
Ghidra/Framework/Docking/src/main/java/docking/RootNode.java