Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Copying Images to the System Clipboard (Java 1.1.x)  RSS feed

 
Rohit Singh
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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?


Regards,

Rohit
 
Roseanne Zhang
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I read several articles said the samething, failed on Java 1.1
Sorry.
If you target to Java 2, here is an excellent article for you:
http://www.javaconference.com/features/1999/08/ji199908ps_f/ji199908ps_f.asp
Roseanne
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!