if (this.x == x && this.y == y) return; invalidate(); this.x = x; this.y = y; if (peer != null) peer.setBounds(x, y, width, height);
move (x, y);
  public void setLocation(int x, int y)  {    if (this.x == x && this.y == y)      return;    invalidate();    this.x = x;    this.y = y;    if (peer != null)      peer.setBounds(x, y, width, height);  }