How can I open my Java desktop app by clicking on its file?
How can I open my Java desktop app by clicking on the file it creates? This app creates files when selecting its "Save as" option with an extension specificaly defined for this app.
For instance, imagine I create an editor app called BlueSky and make its text files save as "*.bsky" files. What must I do to make this *.bsky file open by a double click from windows explorer, and to open inside BlueSky app?
September 10, 2011 at 6:30 PM
Hai dear friend...
For that you must create 1 jar file..please search how to make a jar file..Once you created that jar file.then you can open application by double clicking on it.
September 12, 2011 at 12:19 PM
Thanks but that's not what i meant.. I CAN open my app by a doubleclick on a jar file but I CAN NOT open my app directly by clicking on a file that my app creates... Its a meter of file type association, I suppose, and I'm not sure how to do that(for Windows)..