aspose file tools
The moose likes Swing / AWT / SWT and the fly likes Layout for multiple trees Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Layout for multiple trees" Watch "Layout for multiple trees" New topic
Author

Layout for multiple trees

Swamy Vatti
Ranch Hand

Joined: May 02, 2001
Posts: 57
I need to add 3 different trees into a scroll pane one under the other. What I did was, added all the trees into a pane with BoxLayout(Y_AXIS), this pane to a viewport, and the viewport to a scrollpane.
Is this a correct way?
this comes close to my requirement but the only problem is the width(not the height) of the tree is not honoured.
can you guys give some input
Thanks

Swamy
 
jQuery in Action, 2nd edition
 
subject: Layout for multiple trees