aspose file tools*
The moose likes Applets and the fly likes drag and drop images on applet from local file system Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "drag and drop images on applet from local file system" Watch "drag and drop images on applet from local file system" New topic
Author

drag and drop images on applet from local file system

Srikar Sarma
Greenhorn

Joined: Jan 25, 2007
Posts: 2
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
Marshal

Joined: Mar 22, 2005
Posts: 41524
    
  53
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.


Ping & DNS - my free Android networking tools app
Srikar Sarma
Greenhorn

Joined: Jan 25, 2007
Posts: 2
Hi,

Thanks for the sample codes link. How can I make the applets signed?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41524
    
  53
The HowCanAnAppletReadFilesOnTheLocalFileSystem page explains how to do that.
 
wood burning stoves
 
subject: drag and drop images on applet from local file system