This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply 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
another layout mock question
pack()
Layout Manager
BorderLayout
Layout mock question