• Post Reply Bookmark Topic Watch Topic
  • New Topic

need clarification on tree

 
naveen kollepara
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am developing a tree using JTree class.
My problem is:
I want to add a node to the tree which does not have any children but behaves like a folder(ie, i need to add an empty folder to the tree). I should be able to click on this node to open the empty folder.
Any suggestions are appreciated.
Thanks,
Naveen.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!