public Point getViewPosition() {
		JViewport viewport = scrollPane.getViewport();
		Point p = viewport.getViewPosition();
		return p;
	}
Returns the current viewport position of the scrollable tree.

@return the current viewport position of the scrollable tree.
Ghidra/Framework/Docking/src/main/java/docking/widgets/tree/GTree.java