A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
Swing / AWT / SWT
Can you use a gridlayout with a borderlayout?
Joined: Nov 15, 2003
Nov 21, 2003 22:31:00
I would like to know can you use a gridlayout and a borderlayout in the same class.
Joined: Jul 03, 2001
Nov 22, 2003 04:57:00
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:
subject: Can you use a gridlayout with a borderlayout?
Do we have a JStatusBar in java?
Battleships - guys please help me out!
JPanels within JPanels that have no layout manager
Adding GridLayout to JDesktopPane as well as a BorderLayout?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014