This is a small widget I developed that adds search support to a JTree.
Features
- Works with any pre-loaded JTree
- Installs easily in one line of code : SearchableJTree.makeSearchable(JTree tree);
- Pops up when user types a key when the JTree has focus. Hides away when user presses ESC or ENTER
- iTunes like search UI. Search results are updated in realtime as user types each character.
- Positioning, transparency and color schemes for the UI are customizable.
I also wrote a small program to demonstrate the widget and its various features.