First Comes Data Transfer
The Data Transfer API is used to develop JFC programs that cut objects to and paste objects from either the system clipboard or a private clipboard. Although almost any kind of object can be cut and pasted (in theory), this API is typically used to cut and paste text strings. As a result, special support for cutting and pasting strings is provided.
The Data Transfer API is located in the java.awt.datatransfer package, which contains three interfaces and six classes—described in Table 19.1.
|Clipboard||This class implements a mechanism for transferring data by way of copy/cut/paste operations.|
|ClipboardOwner||This interface is used by classes whose ...|