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
Register / Login
JavaRanch » Java Forums » Java » Applets
Reply 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: 35220
    
    7
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.


Android appsImageJ pluginsJava web charts
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: 35220
    
    7
The HowCanAnAppletReadFilesOnTheLocalFileSystem page explains how to do that.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: drag and drop images on applet from local file system
 
Similar Threads
Drag and Drop folder?
getImage() open image
DnD from file system into JTree
Drag and dropping across applets
Windows Explorer in WebPage