my dog learned polymorphism*
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
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Issue with Copy and Paste from external source to applet.
 
Similar Threads
String(byte[ ]) constructor
Java Cyrillic Characters
compare contents of two files using regex
character convertion in java
Marcus Green #3 Question 33