Posted By

Ivan_Pig on 08/02/09


Tagged

clipboard


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

kubaitis


CopyToClipboard


 / Published in: Java
 

  1. Clipboard clip = Toolkit.getDefaultToolkit().getSystemClipboard();
  2. ImageTransferable imageTrans = new ImageTransferable(bufferImage);
  3. clip.setContents(imageTrans, null);

Report this snippet  

You need to login to post a comment.