wood burning stoves 2.0*
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
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
another layout mock question
BorderLayout
pack()
Layout Manager
Layout mock question