What is the code for moving up and down? Move(1) and move(-1) is right and left? What is up and down?
setLocation(getX()+1, getY()); // right // setLocation(getX()-1, getY()); // left // setLocation(getX(), getY()+1); // down // setLocation(getX(), getY()-1); // up