A simple applet to show layouts
The source code is
Layout1.java