private static ScreenBounds doGetScreenBounds(Point p) {
		GraphicsConfiguration gc = getGraphicsConfigurationForPoint(p);
		Toolkit toolkit = Toolkit.getDefaultToolkit();
		Rectangle bounds = gc.getBounds();
		Insets insets = toolkit.getScreenInsets(gc);
		return new ScreenBounds(bounds, insets);
	}
Update the bounds to be within contained within the visible bounds of the screen.  The given
component is used to determine which screen to use for updating the bounds.

<P>Note: the given comonent's bounds will not be adjusted by this method

@param c the on screen component, used to determine which screen to check against the given
       bounds
@param bounds the bounds to adjust
@throws IllegalArgumentException if the given component is not yet realized (see
        {@link Component#isShowing()}
Ghidra/Framework/Generic/src/main/java/generic/util/WindowUtilities.java