acm.gui
SimpleTableExample
This program illustrates the operation of the TableLayout manager using the following simple program:
TableLayout
public class SimpleTableExample extends Program { public void init() { setLayout(new TableLayout(2, 3)); add(new JButton("A")); add(new JButton("B")); add(new JButton("C")); add(new JButton("D")); add(new JButton("E")); add(new JButton("F")); } }