I haven't seen this stated explicitly anywhere, so I just want to confirm if my understanding is correct.
1.The default layout manager for a JFrame object is the BorderLayout and for any JComponent subclass object, it's FlowLayout.
2.In BorderLayout, if you simple add, without specifying the position (CENTER, SOUTH, etc), it adds at CENTER by default, which is why when you do this for two different objects, they are drawn on top of one another and only the most recent one is visible.
Are both these assumptions of mine correct?