I have a text box and when the user enters the value and click the "Search Button", the value needs to be searched in the Jtree and need to highlight the node.
If I enter the
string and hit search , I am able to search the tree and get the exact node and its path.
But I could not make it selected. If the node is collapsed I need to expand and select it.
Path count is 3.
Can anyone help in getting this done.