private void doSelectPaths(TreePath[] treePaths) {
		GTreeSelectionModel selectionModel = tree.getGTSelectionModel();
		selectionModel.setSelectionPaths(treePaths, origin);

		if (treePaths != null && treePaths.length > 0) {
			// Scroll to the last item, as the tree will make the given path appear at the
			// bottom of the view.  By scrolling the last item, all the selected items above
			// this one will appear in the view as well.
			jTree.scrollPathToVisible(treePaths[treePaths.length - 1]);
		}
	}
Tells the JTree to not expand paths for each selection that is set upon it.  Doing this
will speed-up performance.   However, only call this when some other task is going to
ensure that paths are properly expanded.

@param disabled true to disable
Ghidra/Framework/Docking/src/main/java/docking/widgets/tree/tasks/GTreeSelectPathsTask.java