Since you can't run the applet, here's a picture of it: #usemacro UI_FIGURE ( NAME cardlayout.gif W 306 H 99 ALT A program that puts two panels in the same space with CardLayout. )