It's not a secret anymore!
The moose likes Beginning Java and the fly likes Layout Manager help please???????? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Layout Manager help please????????" Watch "Layout Manager help please????????" New topic

Layout Manager help please????????

JeF Ald

Joined: Mar 21, 2002
Posts: 19
what is a good book or a good resource on the web to learn about the layout managers and specifically how to use a layout manager inside of another layout manager i am trying to recreate the GUI interface for WS_FTP and i know i have to do nested layouts but the books i have dont go over nesting them any help would be greatly appreciated

Jack of all trades, Master of none
Jeff Smith
Ranch Hand

Joined: May 04, 2001
Posts: 50
I would recommend Sun's Java Tutorial, specifically the "Creating a GUI with JFC/Swing" trail.
And with regards to using a "layout manager inside of another layout manager" it's really quite simple. You would do it by simply setting the layout of a panel to the second layout you want and then adding it to the original layout. The easiest way to think about it is to split your interface into sections, using a panel for each section with whatever layout is needed. Then use another layout to bring each panel into the final UI design.
Sayed Ibrahim Hashimi
Ranch Hand

Joined: May 17, 2001
Posts: 148
I'm not sure how well it covers Layout Managers inside of Layout managers but "JFC Unleashed" covers a lot of things that other Swing books don't cover. I recommend that.
p.s. I found the book on some crazy sale for $4.99 at Borders bookstore a while ago.

SCJP 1.4<br /><a href="" target="_blank" rel="nofollow"></a>
I agree. Here's the link:
subject: Layout Manager help please????????
jQuery in Action, 3rd edition