java - How to implement a Filter/Searchfield in JXTreeTable? What is good practice? -
i have class treenode has attribitues , arraylist of children.
for class have own treemodel extends abstracttreetablemodel. created tree displayed correctly.
now want add search field searches in 1 attribute , show parents , children when matches 1 node. have traverse tree , down.
i tried use serachfactory searches visible nodes.
an example me lot or best practise. need second model (which extends abstracttreetablemodel) filter can applied? how can that? or way go on renderer?
Comments
Post a Comment