Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

drag and drop images on applet from local file system

 
Srikar Sarma
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have a functionality in my web page where i need to drag and drop an image from my file system on to an applet and my web page should receive the file path of the dropped image.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

The Swing toolkit includes drag-n-drop, which can do that. The applet will need to be signed for this to work.
 
Srikar Sarma
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks for the sample codes link. How can I make the applets signed?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The HowCanAnAppletReadFilesOnTheLocalFileSystem page explains how to do that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic