public GTreeNode getNodeForLocation(int x, int y) {
		TreePath pathForLocation = tree.getPathForLocation(x, y);
		if (pathForLocation != null) {
			return (GTreeNode) pathForLocation.getLastPathComponent();
		}
		return null;
	}
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