I have an application with a JTree component,
however, the Jtree model is set from an adapter which creates the nodes from a database.
Now my problem is how can i get the Jtree to refresh itself if the info in the database changes, i.e. more nodes added?
What i am currently doing is creating a new instance of the model, as reload has no effect. If i do reload and also refresh the info in the adpater the Jtree does not recognise that nodes have been added and thus not reflected on the JTree component,
can anyone help?