It’s not too hard to make it possible to open a file inside my self made program but how can I make my program to open a file (and my program and show the file inside my program after it’s launched) right-clicking a file on my desktop and choosing open in application (I don’t have english version of Windows so I don’t remember how that function is named excactly) and choosing the program and it opens that file with my own program.
For example you can open an image with mspaint by clicking it with your right mouse button --> choose “Open in application” (or whatever) --> click “Paint” and now Paint is executed and image is open inside it.
I think I could probably code a program similar to mspaint with java without bigger problems except this.
I guess I should send the path of the file as a parameter when excecuting my program or something. ???
