• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java.awt

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which of the following layout managers honors the preferred size of a component:

1 CardLayout
2 FlowLayout
3 BorderLayout
4 GridLayout
 
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1.FlowLayout always honours a component's preferred size.
2.GridLayout does not honour a component's preferred size.
3.Border Layout does somthing in between.
It honours the prefferd height of North and South Components. and
It honours the preferred Width of South and West components
4. CradLayout - I am not sure
thanx
[This message has been edited by swati bannore (edited July 16, 2001).]
reply
    Bookmark Topic Watch Topic
  • New Topic