hi everyone.
i have two frame ,one called 'firstFrame' and one called 'controlFrame'. they are both hold a Jtree. when you selected a leaf node in the controlFrame, it will invoke the method addNode(path,name) to add a new node in the firstFrame. But as you will see, it insert the node into the controlFrame.
first, excute CreateData to get the file 'tree.data'
// TreePanel is the class who holds and changes the tree
This class creates the two frame, 'firstFrame' and 'controlFrame'
And please note the output.
What's wrong?