File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Copying Images to System Clipboard (in JDK1.1.x) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Copying Images to System Clipboard (in JDK1.1.x)" Watch "Copying Images to System Clipboard (in JDK1.1.x)" New topic

Copying Images to System Clipboard (in JDK1.1.x)

Rohit Singh

Joined: Dec 22, 2000
Posts: 4
With a signed applet running on IE or Netscape, I wish to copy a java.awt.Image object onto the clipboard in the form of a BMP(or GIF/JPEG), such that I may paste the copied image in another Windows Application such as MSPaint or Word.
JDK1.1.x supports the copying of "Strings" onto the System clipboard. Using a MIME type as "image/bmp", can I copy the image onto the clipboard such that other applications like Word understand and paste it?

[This message has been edited by Rohit Singh (edited December 22, 2000).]
I agree. Here's the link:
subject: Copying Images to System Clipboard (in JDK1.1.x)
Similar Threads
Pasting Images Problem
problem while pasting images on to the java application from Mac Systemclipboard
Is there any way of getting an image from the system clipboard?
Copying Images to the System Clipboard (Java 1.1.x)
Capturing an image to system clipboard