public ProgramLocation getProgramLocation(Point point) {
		FieldLocation dropLoc = new FieldLocation();
		Field field = fieldPanel.getFieldAt(point.x, point.y, dropLoc);
		if (field instanceof ListingField lf) {
			return lf.getFieldFactory().getProgramLocation(dropLoc.getRow(), dropLoc.getCol(), lf);
		}
		return null;
	}
Get a program location for the given point.

@param point the point
@return program location, or null if point does not correspond to a program location
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/listingpanel/ListingPanel.java