• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTree

 
Chetan Durg
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sir,
I am working with one project in which I am using servlets and I want to display the tree structure in the form of management herarichy(horizontal tree) and not like window explorer that can be done using swings.
so is there any ways in which I can display tree in horizontal(management type)?
 
chaudharygaurav
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am also working on this project where I have to make a project for multi level marketing. If you have any idea, plz mail me.......your help would be appreciated chaudharygaurav@yahoo.com
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"chaudharygaurav" -

Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy.
You can change it here.

The model behind JTree ( DefaultMutableTreeNode ) can easily model this information, but JTree does not have a built in way to present the information in this way... you would have to build it yourself...

Thanks! and welcome to the JavaRanch!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic