I’ve built a custom TreeModel for my Java application and, as part of that, have set up my model to fire TreeModelListener events. The docs say to call treeStructureChanged() when the tree has drastically changed structure from a node down but I’m unclear what this means for actually using it. When should my TreeModel call treeStructureChanged()?
Share
Taken from this link (site changed and link is wrong now)