Directly Click the pdf File and my Java application will run
Hello Every one i have an application a java application that read pdf file and display
the pdf file on a jPanel but i hate the way it work because before i can open and read
pdf file i must click the jmenoitem and open the jfilebrowser so that my java application will open and read the pdf file.
i want that i will automatically click any pdf file on my computer with out running my java application and my application will automatically run and will be the one who read the pdf file if i double click any pdf file on my computer.
any idea about this problem? plss help.
Re: Directly Click the pdf File and my Java application will run
Hmm, I'm not sure this is possible with just Java. I could be wrong, but I'll be surprised if what you're talking about is easy to implement.
Re: Directly Click the pdf File and my Java application will run
This is more an operating system problem than a programming problem, and as a result the solution depends upon the OS. I'd recommend researching how you can associate the file type with a given application for your OS.