I think you want to be sending the Double object constructor 'double' numbers, not Point2D.Double objects (which is what your list is returning).
http://java.sun.com/j2se/1.4.2/docs/api/java/awt/geom/Point2D.Double.html
also i dont see where list is filled.
also why arent you using variable...