changing Point2D.Double to Point(int) - easier to exchange