Java 复制字符串到系统剪贴板
原文:http://www.open-open.com/code/view/1453188435933
public static void main(String[] args) { StringSelection stsel = new StringSelection("String"); Toolkit.getDefaultToolkit().getSystemClipboard().setContents(stsel, stsel); }
看完打开支付宝扫一扫领个红包吧!