• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Issue with Copy and Paste from external source to applet.

 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic