wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
jQuery in Action, 2nd edition
 
subject: Issue with Copy and Paste from external source to applet.
 
Similar Threads
Marcus Green #3 Question 33
compare contents of two files using regex
String(byte[ ]) constructor
character convertion in java
Java Cyrillic Characters