I have an applet with a JTree. The user may expand/collaps its nodes. The applet is refreshed every x seconds because the tree displays data in a database, which i continuously updated. When repaint is run, all nodes collaps. I would like the nodes to keep their current state, collapsed or expanded.
The JTree exists in JPanels, wich exists in a JScrollPane. The repaint is done when the following code is run:
Any ideas on how do this?
Thanks for all help!!!