}
public void nextFrame() {
if (Status.startsWith("Moving")) {
Point Now = this.getLocation();
if (Now.distance(To.x, To.y) != 0) {
if (To.x - From.x != 0) {
int newX = Now.x + (Utility.sgn(To.x - Now.x));
int NewY = (int) Math.round(-Teta * (newX - To.x) + To.y);
//int NewY= p.y + (Utility.sgn(j));
this.setLocation(newX, NewY);