I've been trying to figure out a way to create a URL desktop shortcut in java. The goal is to have a GUI where the user can type in a URL and it will create a desktop shortcut pointing them to that URL.

The goal is to create a link to a local web server that the user will access daily. The IP address on the local server will be different for different locations.