D&D of documet on Java app: how ?

Hello all,I would like to D&D a document (Word or Excel) onto a Java app and get the path of the document. Is there a way or sample code to do that ?thanks in advance
[198 byte] By [ppradier] at [2007-9-26 5:24:29]
# 1
I repost this topic. Can someone help me ?
ppradier at 2007-6-29 19:31:48 > top of Java-index,Archived Forums,Java Programming...
# 2
I do not know what is D&D but thier is a property of a file called get path
hector111 at 2007-6-29 19:31:48 > top of Java-index,Archived Forums,Java Programming...
# 3
I would like say Drag and Drop.
ppradier at 2007-6-29 19:31:48 > top of Java-index,Archived Forums,Java Programming...
# 4
OK , then app means applet, I think that is still possible that you use the file.getPath proerty.
hector111 at 2007-6-29 19:31:48 > top of Java-index,Archived Forums,Java Programming...
# 5
No, app means stand alone.My problem is to know how to detect that a document from the desktop or a specific opened folder is dropped onto my stand alone. Is there a specific event to manage to invoke the file.getpath ?anyway, thanks to try to help me
ppradier at 2007-6-29 19:31:48 > top of Java-index,Archived Forums,Java Programming...
# 6
If you are running your java app from a command line, then I do not think that this is possible.
hector111 at 2007-6-29 19:31:48 > top of Java-index,Archived Forums,Java Programming...