public static Rectangle getVirtualScreenBounds() {

		Rectangle virtualBounds = new Rectangle();
		GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();

		GraphicsDevice[] gs = ge.getScreenDevices();
		for (GraphicsDevice gd : gs) {
			GraphicsConfiguration gc = gd.getDefaultConfiguration();
			Rectangle gcBounds = gc.getBounds();
			virtualBounds = virtualBounds.union(gcBounds);
		}
		return virtualBounds;
	}
Returns the a rectangle representing the screen bounds for the entire screen space for
all screens in use.  The result will include virtual space that may not be rendered on
any physical hardware.   Said differently, the rectangle returned from this method will
contain all visible display coordinates, as well as potentially coordinates that are
virtual and not displayed on any physical screen.  The OS's window manager is responsible
for controlling how the virtual space is created.

@return the virtual screen bounds
Ghidra/Framework/Generic/src/main/java/generic/util/WindowUtilities.java