Clipboard.setContents

Clipboard.setContents

Class Overview | Class Members | This Package | All Packages

Syntax
public synchronized void setContents( Transferable contents, ClipboardOwner owner )
Parameters
content
the transferable object representing the clipboard content
owner
the object which owns the clipboard content
Description
Sets the current contents of the clipboard to the specified transferable object and registers the specified clipboard owner as the owner of the new contents. If there is an existing owner registered, that owner is notified that it no longer holds ownership of the clipboard contents.