if (this.owner != null) this.owner.lostOwnership(this, contents);
{ ClipboardOwner oldOwner = this.owner;
  public synchronized void setContents(Transferable contents, ClipboardOwner owner)  {  if (this.owner != owner)    if (this.owner != null)      this.owner.lostOwnership(this, contents);   this.owner = owner;  this.contents = contents;  }