public static void ensureOnScreen(Component c) {
		Rectangle bounds = c.getBounds();
		ensureOnScreen(c, bounds);
		c.setBounds(bounds);
	}
Update the component to intersect the visible bounds of the screen.

<P>This method differs from {@link #ensureOnScreen(Component, Rectangle)} in that
the other method does not adjust the component's bounds like this method does.

@param c the component to move on screen as necessary
@throws IllegalArgumentException if the given component is not yet realized (see
        {@link Component#isShowing()}
Ghidra/Framework/Generic/src/main/java/generic/util/WindowUtilities.java