Replace Point2D.Double with Point