This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes BorderLayout Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "BorderLayout " Watch "BorderLayout " New topic


sasank manohar
Ranch Hand

Joined: Feb 14, 2008
Posts: 186
3. If a Button is placed in a Frame and when you resize the button , its height gets affected but not width . Which layout does this work?
1. a FlowLayout
2. a GridLayout
3.the center area of BorderLayout
4. the East or West area of BorderLayout
5. the North or South area of BorderLayout
I think Answer is 4 , but I am not sure .
Please help me with this
Thank you

sanjay patel

Joined: Aug 01, 2000
Posts: 1
Your answer is right.Because in border layout ease-west region preffer width.
for Grid layout and Flow Layout it's of no question atall
I agree. Here's the link:
subject: BorderLayout