This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Can you use a gridlayout with a borderlayout?
 
It's not a secret anymore!