Layout Managers






Let's begin by looking at the example program for the Border Layout manager that we did last time.

This is the output produced.

Now let's look at a use of the Grid Layout manager. It arranges components on a 2-diml grid and makes all of them of uniform size. This is the program from chapter 6 of Late Night Java, p. 121. Here is the graphical output.