aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Can a container have multiple layout managers? 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 a container have multiple layout managers?" Watch "Can a container have multiple layout managers?" New topic
Author

Can a container have multiple layout managers?

smyle khanna
Ranch Hand

Joined: Jan 14, 2004
Posts: 54
Hi ..
this question has 2 options true and false...
and i have searched a lot and every time i get mixed response for this..

plzz guide me through

Smyle
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8997
    
    9

Look at the method setLayout() in the Java Documentation for java.awt.Container. Does that answer your question?


[How To Ask Questions On JavaRanch]
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
A container can have only one layout manager but may also contain components that each have a different layout manager.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can a container have multiple layout managers?