What is the desired effect? Why would you want to change the layout from one to the other? BorderLayout is specific in the way the items are added (the location of the item is one of the arguments). FlowLayout adds the items in the order that they were added in the code. You typically set the layout and then add the items. If you go and change the layout at a later point (after the items have been added) I don't see how you could expect any consistency in the order at that point. What is the reason for going from one layout to the other?
Joined: Aug 08, 2002
there is no specific desired effect i'm lookin for. i just happened to come across the odd behaviour of the BorderLayout n wondered y it's so?