public Window getActiveWindow() {
		if (lastActiveWindow != null) {
			return lastActiveWindow;
		}

		return root.getFrame();
	}
Returns the active window (or the root window if nobody has yet been made active).

@return the active window.
Ghidra/Framework/Docking/src/main/java/docking/DockingWindowManager.java