I have a Jtree using DefaultTreeModel, each individual node contains a UserObject containing various string fields.
I would like to find and select the node, doing a recursive traversal, until I find DefaultMutableTreeNode with a UserObject matching one of its fields, and programmatically select node.
Are there any examples related to searching through DefaultMutableTreeNode UserObject fields?
source share