Hi,
You can create an icon for your application in the following way:
1. Create your
java command and put it in a text file.
2. When you are happy with the command, change the file extension to .bat and move this file to the desktop.
3. Then just double click the .bat file as you would any other application icon (you can even change the icon picture if you like).
Second, I would like to be able to access this application from my website. Is there a way to do this?
Not quite sure what you mean here. Are you talking about running your application inside a browser (Java
applet)? Or do you mean downloading your jar files from your own website and then having them run on the client machine with little to no effort of the end user (Java webstart)?
If you have something else in mind, can you give a description of the scenario?
Also, is there a way to keep my application on top of all other application running?
I've never tried, but maybe you could catch the minimize or defocus event on your JFrame, and then just throw your frame back into focus.
Though you had better have a good reason for this kind of application behaviour, otherwise it might disturb some of your users that want to use other applications at the same time.
Cheers, Jared.