10Apr/13

Get Data from Clipboard in Java

An example on getting and printing a string from system clipboard in Java in just 2 statements. Example import java.awt.*; import java.awt.datatransfer.*; class SystemClipboard { public static void main(String args[]) throws ExceptionRead More…