This interface defines the single method that an object that places data on a Clipboard must implement. This method is used to notify the object when its data on the clipboard is replaced by other, more recent, data. An object that places data on a clipboard must remain ready to satisfy requests for that data until lostOwnership() is called.
public abstract interface ClipboardOwner { // Public Instance Methods public abstract void lostOwnership(Clipboard clipboard, Transferable contents); }
StringSelection
Clipboard.setContents()
Clipboard.owner