java - Drag&Drop file to jar file (in Windows Explorer) -
i have written java application, analyzes info within zip file.
i can pass filename command line argument application (java -jar myapp.jar filetoanalyze.zip) , supposed do.
unfortunately somehow complicated phone call application via command line. drag zip file jar , allow start. have absolutely no thought how this. please give hints?
thanks in advance.
it seems windows doesn't allow file drops on jar files. short of finding solution instantiate jframe when run jar file , create hear dropped zip files on instead.
an illustration of can found here.
java drag-and-drop command-line-arguments
No comments:
Post a Comment