private Rectangle createScreenKeepVisibleArea(Point p, Rectangle keepVisibleAea) {

			Rectangle newArea = keepVisibleAea;
			if (keepVisibleAea == null) {
				Point point = new Point(p);
				newArea = new Rectangle(point);
				newArea.grow(X_PADDING, Y_PADDING); // pad to avoid placing the popup too close 
			}

			return createScreenKeepVisibleArea(newArea);
		}
A class that holds info related to the source of a hover request.  This is used to position
the popup window that will be shown.
Ghidra/Framework/Docking/src/main/java/docking/widgets/PopupWindow.java