The source code for Card Layout