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.

enter image description here

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


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

php - MySQLi multi_query results for later use -