File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
It's not a secret anymore!