• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

icon problem

 
glen li
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

I would like to show an icon on the user's desktop after they downloaded the jar file from my homepage, how should I do this? Thanks!

glen
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could do it with a signed applet I suppose. There's no HTML/Javascript trick you can use to get access to the user's file system (beyond the browser sandbox) without the user agreeing to waive most of their browser security settings. A signed applet gives you access to the user's file system, assuming they agree to allow this when they download the applet.
 
glen li
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Paul,

I am still confused. The jar file I mentioned is an java application. I have the image file, but I don't know how to make it a logo for my application. Should I put it into the manifest file somewhere or what? Thanks!

glen
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well it depends on the OS you are using, but if its Windows you can't control what icon is used with a Jar in the Jar itself. The icon to file type relationship is maintained by Windows, so you would have to change it there.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic