Returns a transferable object representing the current contents of the
clipboard. If the clipboard currently has no contents, it returns
null. The parameter Object requestor is not currently used. The
method throws IllegalStateException if the clipboard is currently
unavailable. For example, on some platforms, the system clipboard is
unavailable while it is accessed by another application.
requestor | the object requesting the clip data (not used) |
IllegalStateException | if the clipboard is currently unavailable |
java.awt.Toolkit.getSystemClipboard
Diagram: datatransfer