This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Can you use a gridlayout with a borderlayout? 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 "Can you use a gridlayout with a borderlayout?" Watch "Can you use a gridlayout with a borderlayout?" New topic
Author

Can you use a gridlayout with a borderlayout?

gary davis
Greenhorn

Joined: Nov 15, 2003
Posts: 7
I would like to know can you use a gridlayout and a borderlayout in the same class.
Jose Botella
Ranch Hand

Joined: Jul 03, 2001
Posts: 2120
Welcome to the ranch gary.
A container can have only one LayoutManager. However, a container inside another can have its own layout manager regardless the one of the parent container.


SCJP2. Please Indent your code using UBB Code
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can you use a gridlayout with a borderlayout?
 
Similar Threads
Battleships - guys please help me out!
Adding GridLayout to JDesktopPane as well as a BorderLayout?
GUI Layout
Do we have a JStatusBar in java?
JPanels within JPanels that have no layout manager