Java examples for Native OS:Clipboard
image To Clipboard
//package com.java2s; import java.awt.Toolkit; import java.awt.datatransfer.Transferable; public class Main { public static void imageToClipboard(Transferable transferableImage) { Toolkit.getDefaultToolkit().getSystemClipboard() .setContents(transferableImage, null); }/* www. j a va 2 s .c om*/ }