Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

I need help in JTree urgent

 
Jasmine kaur
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everbody,
I have to give a name to a Root as a "Undefined" in JTree and i am using method jtree.setName("Undefined");
but its not working as when this JTree will open it would show its main root name like "undefined" .Could please tell me the exact method to give name to the Root in Jtree as this Jtree is getting data from Arraylist .
I need help.
Thanks alot
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!