Java Searchable JTree
- by Studer
I'm trying to use the Searchable JTree from girishchavan on a FileSystemModel from Sun.
It didn't work the first time because Sun's Node implementation is a File so I transform it into DefaultMutableTreeNode to be compatible with Searchable JTree. I also edited Searchable JTree to match the path of a file.
But it still doesn't work. As far as I can see, it seems that the Searchable JTree only detects the root of the original JTree and cannot go further. Maybe the Nodes are not bind to each others even if they display correctly in a JTree.
How can I make it compatible ?