public Point getPointForLocation(FieldLocation location) {

		AnchoredLayout layout = findLayoutOnScreen(location.getIndex());
		if (layout == null) {
			return null;
		}
		Rectangle r = layout.getCursorRect(location.fieldNum, location.row, location.col);
		return r.getLocation();
	}
Returns the offset of the cursor from the top of the screen

@return the offset of the cursor from the top of the screen
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/FieldPanel.java