I have a checkable FilterTree (tree.setCheckable(true)) and I want to change the default behaviour when filtering. Right now, whenever a tree node is filtered out its checked state is forgotten. What I need is to somehow remember the checked, filtered out children and when the filter changes (causing them them to reappeear on the tree) to check them automatically again. Is this possible? Is there an property to change or can I do it by subclassing and modifying some methods?