how to create Horizontal Tree and also to represent the nodes with buttons

JTree in swing provides us with the class to generate only the vertical trees. but i want to generate horizontal trees like

A

/\

BC

/\

D E

and also represent the nodes A , B,C...with some rectangle figure with a text 'A'..

is there any class that I could use?

[310 byte] By [kalebhaia] at [2007-10-3 4:49:51]
# 1
It depends... is the tree likely to be edited, or only displayed?The first step would be to describe your requirements.
Franck_Lefevrea at 2007-7-14 22:54:24 > top of Java-index,Java Essentials,Java Programming...