I have a JTree that uses MutableTreeNode and MutableTreeModel, the data comes from a database. Each Node has a database key "FolderId" that can have subchildren.
I'm writing a right-click menu popup, when the user clicks on a node and selects "Refresh", it deletes the children nodes of that node and re-reads them from the database (in case another user or process has added anything to the database).
I've tried calling various "reload" and "node changed" functions in the tree model, but can't make it show the updated tree on the screen.
Can someone tell me the basic thing that "should" work to refresh the tree?