|
-
Apr 10th, 2003, 04:53 AM
#1
Thread Starter
Addicted Member
JTree, Model, TreeNodes etc... HELP
Hello
I have been using the DeafultMutableTreeNode and build an Array LIst with my various bits of information, this displays fine, but when i add an element to my Array LIst i can't seem to get the tree to update properly. Some one suggested i shold write my own MVC aprach for it.
I was wondering if someone could possibly explain which parts i would need to implement to achieve the desired tree.
The tree heirarchy, as i said earlier is an ArrayList of Array List, i think thats straight forward enough, now when i add a new element to one of these arraylists anywhere indise of my heirarchy array list i want to the tree to update automatically...
does that make sense?!
I guess the question is, what do i have to implement to get this to work for me, the Tree Model, the TreeNode or something else?!
Cheers in advance
Andy
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|