java - CardLayout - replace panel -
is there elegant way replace reference of object added cardlayout new reference pointing object. don't know if i'm thinking want feedback.

instead of bankaccpanel direct adding add container (bankaccpanel + anotherpanelnow). swap cards in subcontainer rather main container.
Comments
Post a Comment