import javax.swing.*;
import java.awt.*;
import java.awt.event.*;

/**
 * Extremely simple Swing app separating component from driver.
 * @author Bob Futrelle
 * @version 1.1 3/20/03 (orig 7/6/02)
 */
public class SwingApplication {

    public static void main(String[] args) {
 
        //Create the top-level container and add contents to it.
        JFrame frame = new JFrame("SwingApplication");
        Component contents = new Components();
        frame.getContentPane().add(contents, BorderLayout.CENTER);

        //Finish setting up the frame, and show it.
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

    	frame.pack();
		frame.setSize(400,200);
    	frame.setVisible(true);
    }
} // class SwingApplication

