You would of course have some layout information or constraints. If you add all those components without layout details, they will appear on top of one another and only the most recently added will be visible. In the case of a panel, the default layout is flow layout, so components are added sequentially in the flow, so you can get away without layout info.
But I think flow layout is completely useless and avoid it like the plague.
Think of how dumb the average person is. Mathematically, half of them are EVEN DUMBER. Smart tiny ad: