Adding to a form
I have a question, that I hope is a rather easy one to answer.
Is it true that once you add something to a particular space on a form, using border layout, and then add something else on top of that, it destroys what's behind it? Such as, if when I initalize my program, I have a statement like this:
Button1.setVisible(false);
Button2.setVisible(true);
form.add(Button1, BorderLayout.CENTER);
form.add(Button2, BorderLayout.CENTER);
Because I added Button2 second, it will display. However, if I try something like the following later on in the program:
Button2.setVisible(false);
Button1.setVisible(true);
Button2 will indeed dissapear, however, Button1 will not show itself. Is this because I've added both to the same location on the BorderLayout? What would be a better way of doing this? Thanks for any input received.

