This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes BorderLayout Clarification Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "BorderLayout Clarification" Watch "BorderLayout Clarification" New topic
Author

BorderLayout Clarification

Lucy Das
Greenhorn

Joined: Jul 14, 2002
Posts: 8
I could not find any documentation that substantiates the following...
Could anybody throw some light on this subject?
Thanks in advance.

Question 40.
A frame uses BorderLayout Management and has components added to all the regions. On resizing the Frame Some space becomes available. The space is alloted to the regions, in which Order of preference?

A. North , South, West, East and then Center.
B. North , West, South, Center and then Center.
C. Center, East, West, South and then North.
D. West, Center, South, North and then East
The answer is A.
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
Check out the following page:
Effective Layout Management : BorderLayout


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
Lucy Das
Greenhorn

Joined: Jul 14, 2002
Posts: 8
Thanks Valentin.. That was helpful.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: BorderLayout Clarification
 
Similar Threads
Layout mock question
BorderLayout
Layout Manager
another layout mock question
pack()