File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
 
 
subject: Can you use a gridlayout with a borderlayout?