Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic