1  import java.awt.*;

  2  import java.applet.*;

  3  

  4  public class mPoint extends Object {

  5  

  6  	

  7  	int x,y,x2,y2;

  8  	boolean fill=false;

  9  

 10  	public mPoint(int _x, int _y, int _x2, int _y2) {

 11  

 12  		x=_x;

 13  		y=_y;

 14  		x2=_x2;

 15  		y2=_y2;

 16  	};

 17  

 18  	public void draw(Graphics g) {

 19  	}

 20  

 21  	public void setFill(boolean _fill) {

 22  		fill=_fill;

 23  	}

 24  

 25  	public boolean isIn(int _x, int _y) {

 26  		return true;

 27  	}

 28  

 29  	public void setEnds(int _x, int _y) {

 30  		x2=_x;

 31  		y2=_y;

 32  	}

 33  }