Meaningless Drivel is fun!*
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 Android Security Essentials Live Lessons this week in the Android 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
 
 
subject: Layout for multiple trees
 
Similar Threads
Adding JScrollPane to JPanel?
WA #1.....word association
About JScrollPane
Screen resolution
JScrollPane resizing component in Viewport