This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design 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: 42967
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: 42967
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