public void setLastBounds(Rectangle bounds) {
			Rectangle screenBounds = WindowUtilities.getScreenBounds(getWindow());
			if (screenBounds == null) {
				return;
			}

			Rectangle boundsSize = new Rectangle(bounds.getSize());
			Rectangle screenSize = new Rectangle(screenBounds.getSize());
			if (boundsSize.contains(screenSize)) {
				// This can happen when the bounds being set are the full screen bounds.  We only 
				// wish to save the non-maximized bounds.
				return;
			}
			this.lastBounds = bounds;
		}
Stores the given bounds if they are not the maximized bounds
@param bounds the bounds
Ghidra/Framework/Docking/src/main/java/docking/RootNode.java