public Ball(double x, double y, double speed, double direction) Constructor parameters must be in that order exactly. I've lost an hour.