/*
 *  =================================================================
 *  DemoTableLayout.java : This applet demonstrates how to create a
 *  simple table layout with specified number of rows and columns.
 * 
 *  Adapted from : Pantham S., Pure JFC Swing, 1999.
 *  Modified by : Mark Austin                             March, 2001
 *  =================================================================
 */

import javax.swing.*;

public class DemoTableLayout extends JApplet {
    public void init() {

        // 1. Create a table using the number of rows and
        //    columns and add it to the content pane.

        JTable table = new JTable( 10, 5); // 10 rows and 5 columns
                                        
        getContentPane().add(table);   
    }
}
