The moose likes Swing / AWT / SWT and the fly likes JTree Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTree" Watch "JTree" New topic


Chetan Durg

Joined: Jan 09, 2001
Posts: 2
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)?

Joined: Jun 27, 2002
Posts: 4
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
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

"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!

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: JTree
It's not a secret anymore!