JTree problem!!!!!!!!!!!
I am trying to create a Chatroom application,which has three windows.One,that displays a list of permanent chat rooms(i have used static JTree to display that).The second one displays the list of custom chat rooms which users can create and third one displays both.the problem is user can create custom chat rooms from all the 3 window and join the chat.When the user is trying to create a custom chat room from default window,he/she is trying to add a new node to the custom chat room JTree.I ahve given 3 radiobuttons to visit different windows.Now if the user wishes to see the custom window,customwindow class will be called and automatically the JTree class is reinitialised.The core point is I am not storing the state of my TreeModel anywhere.So what do you all think I should do,?would it be wise to put the custom chat rooms inDB and get it whenever the tree is initialized or is there any other way,
thanks and regards

