By specifying in the node Structure Changed call the highest level node which was directly affected by the change, the app could avoid collapsing the entire tree. And my Tree Changed(Tree Node); doesn't do anything at all... And here is my question which I posted few days ago and no one answer, yet.My case is : When the user clicks on the node and starts editing, I want the text be highlighted as you double-click a text on a text field(the component which holds the display value of a node is, indeed, a text field).
Hi, I want to refresh a jtree after updating it and keep the selected node and highlight it. arbre is a class i ve implemented that inherits from tree and retrieves information from a database. j Tree1 is the tree; j Scroll Pane1 the scrollpane that contains it.