aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes How to create horizontal treetable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to create horizontal treetable " Watch "How to create horizontal treetable " New topic
Author

How to create horizontal treetable

Piyush Tripathi
Greenhorn

Joined: Jan 28, 2009
Posts: 16
Hi,
I need to create a horizontal treetable in a java Frame.Something like below,

A
B C

with the root as A and having childrens B and C .B and C can have more childrens themselves.
Please suggest the way to do it.

Thanks in advance,
Piyush
Pierre Sugar
Ranch Hand

Joined: Dec 08, 2002
Posts: 62

look at this blog from Geertjan. It is quite easy to use.

Tree table


Pierre
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19693
    
  20

That's a vertical tree table, not horizontal.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Piyush Tripathi
Greenhorn

Joined: Jan 28, 2009
Posts: 16
Correct ,I want a horizontal tree view structure starting at top and going on to expand lower down .The vertical tree table expands sideways.Please , can anyone suggest me the way to do it.

Thanks,
Piyush
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to create horizontal treetable