posted 14 years ago
Hi!
There is JTree component that I want to fill from the database. New nodes can be dynamically added to this tree. I need a procedure that will recursively traverse a tree. My problem is that only second-level nodes are added to the root node, but other-level nodes are not created. I've included System.out.println to see the results and problems. Please, help me to fix the error. Below is my code:
The output produced by System.out.println:
Thanks a lot!