I want to be able to double click on textfile.myext and have my java program open and handle the file.
How should I go about making my program accept files that are set as default to open in said program?
What are the steps and what is passed to the program after something is set as default?
Deploy the app. using Java Web Start, which provides..
To see how it is done, visit the demo. of the file services, the
filetest.zip
contains the source, launch file and build file. The demo. ..If the user asks to open a file, the arguments will be
-open path/to/file.name
or for print it will be-print path/to/file.name
.JWS is supplied with the JRE, and works on OS X, Windows & *nix.