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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Layout for multiple trees
 
Similar Threads
Screen resolution
JScrollPane resizing component in Viewport
Adding JScrollPane to JPanel?
About JScrollPane
WA #1.....word association