import java.awt.*;
import java.awt.image.*;
import java.io.*;
import java.util.*;
import javax.imageio.*;

/**
 * Class ColoredRectangle extends Rectangle to print a colored box.
 * 
 * @author McKinley
 * @version April 2007
 * 
 * 1) Declare the class 
 * 2) Add an instance variable
 * 3) Add a default constructor
 * 4) Add other 2 constructors (w,h) & (w,h,c)
 * 5) Add getColor
 * 6) Override Rectangle.draw 
 * 7) Uncomment and discuss main, note two mains (top one is ColoredRectangle) 
 * 8) Try some more things in main of ColoredRectangle
 * 
 */

    public static void main (String [] args)
    {
/*        DrawingBox box = new DrawingBox();
        Rectangle colorless = new Rectangle(100, 50);
        ColoredRectangle r = new ColoredRectangle(250,150,Color.pink);   

        r.draw(box, 10, 10);
        colorless.draw(box, 10, 300);  
*/
    }
}
