I want to know if it's possible to associate files of certain types with my java app.
for example, would it be possible for a Java-based text editor to open every time a .txt file is double-clicked, or run in some other manner?
what i mean is that on clicking the .txt file, my application should open, and the file's uri should be passed as an argument to it.
any help would be appreciated. even platform-specific codes like shell-scripts/batch-scripts would do.