This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am working on a project in Mac OS.And the requirement is that after clicking a button ,a shortcut should be made on the desktop and a pdf file should open. I need to implement this using java. I have made the whole Gui in Swings. Even if we click the shortcut which is made on desktop, the same pdf needs to be launched.
Lucky, do you know you'll be running on a *NIX machine rather than Windows? If you do, then perhaps you could use the ln UNIX command line tool to create a symbolic link, running the command through java.lang.Runtime?