public void draw(Graphics g,Point2D[] points){
  LinkedList<Point2D> pointlist=new LinkedList<Point2D>();
  for (int i=0; i < points.length; i++)   pointlist.add(points[i]);
  draw(g,pointlist);
}

public void draw ( Graphics g , Point2D [ ] points ) { LinkedList < Point2D > pointlist = new LinkedList < Point2D > ( ) ; for ( int i = 0 ; i < points . length ; i ++ ) pointlist . add ( points [ i ] ) ; draw ( g , pointlist ) ; }
draws a decorated polyline
