• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

drag images from windows/mac into swing

 
Ranch Hand
Posts: 407
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys : Does anybody know of a simple utility which
allows dragging of system clipboard images from mac/windows
into swing (although the actual bytes of the image
are preferabble, the URL will do just fine ) ?
 
Author
Posts: 986
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by jay vas:
Hi Guys : Does anybody know of a simple utility which
allows dragging of system clipboard images from mac/windows
into swing (although the actual bytes of the image
are preferabble, the URL will do just fine ) ?



It is certainly possible. How exactly the drag will be represented depends on the environment.

You may want to grab the code at http://examples.oreilly.com/jswing2/code/ch24/UberHandler.java,
run it, and drag images onto the frame from various places on various operating sytems and see what you get.
 
reply
    Bookmark Topic Watch Topic
  • New Topic