I've noticed that the jTree.treeModelHandler called & defined within jTree, implement blank methods for both treeNodesChanged & treeNodesInserted events. DefaultTreeModel fires a treeNodesInserted event & jTree updates itself. However, when I fire the same event from a TreeModel nothing happens.
I can't work out how the tree can update from DefaultTreeModel when it doesn't implement any apparent method to do so.
What am I missing here?
update: workaround org.jdesktop.swingx.tree.TreeModelSupport. Great bit of kit! Added as a field to my TreeModel interfaced object. Then delegated all firing & treeModelListener methods to it. Works better with JTree than DefaultTreeModel & even better with JXTree. I have only implemented singular selection/ insert / deletes but the tree has behaved correctly on all tests so far.