Update TreeNodeSelector.java

create only one instance of TreePath