A frame uses BorderLayout Management and has components added to all the regions. One resizing the Frame Some space becomes available. The space is alloted to the regions, in which Order of preference?
1.North , South, West, East and then Center. 2.North , West, South, Center and then Center. 3.Center, East, West, South and then North. 4.West, Center, South, North and then East. Is the Answer 3 or 1 Any idea ?
North and South have width priority which means that first the width of the components placed NORTH and SOUTH will be increased (or decreased). Then EAST and WEST have their height increased (or decreased) and finally CENTER takes the remaining space. So I would choose answer 1 Anyone ?? HIH ------------------ Valentin Crettaz Sun Certified Programmer for Java 2 Platform