Can one component (e.g. a JLabel
) be in multiple cards using CardLayout
?
Currently it seems that the component appears only at the last card it was added to.
If there is a way to do this, should I? Is it bad practice? Or is there some alternative?