private void setPosition(Point position) {

		// Do some object checking up front and exit if these aren't set.
		if (!isStateValid()) {
			return;
		}

		if (position.y < 0) {
			position = new Point(0, 0);
		}
		viewport.setViewPosition(position);

		FVEvent updateViewportEvt = new FVEvent(EventType.VIEWPORT_UPDATE, null);
		eventListener.send(updateViewportEvt);
	}
Sets the viewport to the given position, and fires off an event to notify any
subscribers.

@param position
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/logviewer/ui/ViewportUtility.java