@Override
	void setMenuBar(JMenuBar menuBar) {
		if (window instanceof JDialog) {
			((JDialog) window).setJMenuBar(menuBar);
		}
		else if (window instanceof JFrame) {
			((JFrame) window).setJMenuBar(menuBar);
		}

	}
Set the status text
@param text the text
Ghidra/Framework/Docking/src/main/java/docking/DetachedWindowNode.java