Hi, If you don't specify the position, it always takes CENTER and overlaps components. That means if you add 5 buttons consecutively , and then hope you see a fine layout along N,S,E,W and CENTER , you won't. You will see only the 5th button occupying the whole space, which is the default, CENTER. Shree
I saw a similar question in a mock exam asking about order of preferenced if resized the answer was North,south,west,east,center. I think If you resize a frame whose LayoutManager is BorderLayout first of all, components on North and South position will be as wide as the frame width but components on west and east position won't be as high as frame height (becuse some of the height would've been occupied by the components on south and west)then remaining centeral space will be occupied by Center component..
[This message has been edited by Nasir Khan (edited December 06, 2000).]
Did Steve tell you that? Fuh - Steve. Just look at this tiny ad:
a bit of art, as a gift, that will fit in a stocking