Create a .url desktop shortcut in java
807588Aug 10 2009 — edited Aug 11 2009I've been looking for a way to create a .url desktop shortcut in java. I can't seem to find anything. What I'm trying to do is create a shortcut that opens up internet explore or firefox and points to a URL like 192.168.1.1/server/start.jsp. This would be easy if I could just copy the .url file from the cd. But, different servers are going to have different IPs. So, what I want to do is have a GUI text field where someone can type in an IP address and it will create the shortcut depending on what they type in. Can this be done?