Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can a container have multiple layout managers?

 
smyle khanna
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9280
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at the method setLayout() in the Java Documentation for java.awt.Container. Does that answer your question?
 
Craig Wood
Ranch Hand
Pie
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A container can have only one layout manager but may also contain components that each have a different layout manager.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic