Previous | Next | Trail Map | Creating a User Interface | Laying Out Components within a Container


How to Use CardLayout

Here's example code for using CardLayout.

Here's the example program, running as an applet:


Your browser can't run 1.0 Java applets, so here are pictures of the window the program brings up:



Previous | Next | Trail Map | Creating a User Interface | Laying Out Components within a Container