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?