Introduction - If you have any usage issues, please Google them yourself
Java using the clipboard to exchange data between processes, this example has realized data exchange, Java program and the system clipboard, when you click the "Paste"
Button, the Java program from the system clipboard data obtained and displayed in a JTextArea component when you click the "Copy" button, the selected text in the text area will be sent to the system clipboard.