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

/**
 * CS-20J  Asn 7
 * ArtOMatic.java
 * Purpose: Randomly draw shapes
 *
 * @author Your Name
 * @version 1.0 3/19/05
 */
public class ArtOMatic extends JPanel {
    final static int HEIGHT = 500;
    final static int WIDTH = 500;

    private MyShape shapes[];

    /**
     * Contructor that creates shapes.
     */
    public ArtOMatic() {
    }

    /**
     * Returns the array of shapes drawin in the application.
     *
     * @return the first point's x coordinate
     */
    public MyShape[] getShapes() {
        return shapes;
    }

    /**
     * Draw shapes
     *
     * @param g graphics context
     */
    public void paintComponent(Graphics g) {
    }

    /**
     * Create a TestDrawWindow object
     *
     * @param args -- not used
     */
    public static void main(String args[]) {
        JFrame frame = new JFrame("Art-O-Matic");
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        ArtOMatic panel = new ArtOMatic();
        panel.setBackground(Color.WHITE);
        frame.getContentPane().add(panel);
        frame.setSize(WIDTH, HEIGHT);
        frame.setVisible(true);
    }
}

