public void paint(Graphics g)
{
MySquare aSquare= new MySquare(Color.red);
MyCircle aCircle = new MyCircle(Color.blue);
draw(aSquare, g, 25);
draw(aCircle, g, 200);
}
public void draw(MyShape shape, Graphics g, int row)
{
g.drawString("Cathy Bishop:", row, 25);
shape.draw(row, 100);
}