aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Issue with Copy and Paste from external source to applet. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Issue with Copy and Paste from external source to applet." Watch "Issue with Copy and Paste from external source to applet." New topic
Author

Issue with Copy and Paste from external source to applet.

Heath Lilley
Ranch Hand

Joined: Jan 09, 2001
Posts: 72
I have a signed applet that I need to allow users to paste images into. I understand the Clipboard, Transferable, DataFlavor concepts and have been able to get something working.

I can past any image that I copy from within Internet Explorer, however, when I try to copy it from the desktop (Windows Explorer) the imageFlavor isn't supported.

OS = Windows 7
JRE is RAD JVM 1.5 (set for 1.4 compatibility)

When copied from the OS and pasted, this is the only supported DataFlavor...

When copied from within IE (right click, copy) and pasted I get these DataFlavors...


Is there a way to add x-java-image to the list of supported flavors to the clipboard? Preferably within my applet.

Thanks in advance.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Issue with Copy and Paste from external source to applet.