public Shape createPoint(Point2D point){
  Line2D.Double pointMarker=new Line2D.Double(point.getX(),point.getY(),point.getX(),point.getY());
  return pointMarker;
}

public Shape createPoint ( Point2D point ) { Line2D . Double pointMarker = new Line2D . Double ( point . getX ( ) , point . getY ( ) , point . getX ( ) , point . getY ( ) ) ; return pointMarker ; }
creates a shape representing a point .
