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


How to Use FlowLayout

Here's example code for using FlowLayout. Since FlowLayout is the default layout manager for Panels, the example doesn't explicitly set the layout manager.

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


Your browser can't run 1.0 Java applets, so here's a picture of the window the program brings up:



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