Closed GoogleCodeExporter closed 9 years ago
Just did a quick test and this isn't possible unfortunately.
Original comment by jsva...@gmail.com
on 8 Jan 2010 at 5:24
Hmm really? I see people talking about passing arguments to a jar file from the
commandline.
Does dropping a file on an application treat the filename as an argument, or
treat
the file at STDIN?
Original comment by davepla...@gmail.com
on 8 Jan 2010 at 5:33
The problem isn't with the code, the problem is that Windows doesn't view
executable
.jar files as valid drag-and-drop targets. If it did, I would likely get the
name of
the file as input to the main() method, but in my testing Windows doesn't even
let the
file accept something to be dragged and dropped onto it. I've searched Google
but no
luck. I'll try Linux next, but I suspect the result to be the same.
Original comment by jsva...@gmail.com
on 10 Jan 2010 at 5:46
Original issue reported on code.google.com by
davepla...@gmail.com
on 23 Oct 2009 at 5:14