• Post Reply Bookmark Topic Watch Topic
  • New Topic

JTree root hiding

 
Serghei Jelauc
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all.
My question is: I need to hide the root node of my tree. I could do this by setRootVisible(false), but in this case the application does not work correct becouse the order of other nodes was changed (firs node became zero node and so on). Is there othe way to hide root node and keep the order of all the tree nodes.

Thanks in advance
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!