import java.applet.*;
import java.awt.*;

public class Litter extends Applet {
  public void init(){
    resize(150,150);
  }
  public void paint (Graphics g){
  }
  //Post: a blob has been drawn where the mouse was clicked
  public boolean mouseUp(Event e, int x, int y){
    Graphics g = getGraphics();
    if (x>75)
      if (y>75)
	g.fillOval(75,75,x-75,y-75);
      else
	g.fillOval(75,75,x-75,-(y-75));
    else
      if (y>75)
	g.fillOval(75,75,-(x-75),y-75);
      else
	g.fillOval(75,75,-(x-75),-(y-75));
    return true;
  }
}

