it can only have one parent, so each time it is added to a new 'card', it is removed from the older card.
some options:
1) you can make commonPanel a class, then add a new instance of it to each card.
2) create a holding panel, cardlayout panel on top (or bottom), commonPanel in other area,
so only the '
cards' change