Hi,
I have created a JTree in which I want to highlight a file and if the directory containing the file is invisible, I need to expand it.
Ex: I have created a JTree with the root node- D:/Company/abb/src. The file which I want to highlight is - D:/Company/abb/src/bin/help.txt
Please give me some logic to highlight the file help.txt.
Thanks in advance