File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
How to give Icon to a Jar file ?
Joined: Feb 13, 2010
Jul 22, 2010 04:44:34
I have created a jar file. I want to give a customized icon to this jar instead of the default icon that is there.
Please let me know how we can do this ..
Joined: Oct 27, 2005
Jul 22, 2010 08:19:23
JAR files do not have icons. The icon is given to it by Windows solely based on the fact that the extension is .jar, and there is a file association for .jar with that icon defined.
The best you can do without using Launch4J or similar tools to turn the JAR file into an EXE file is use a Windows shortcut. You can give these any icon you want.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions
How To Answer Questions
Joined: May 03, 2008
Jul 22, 2010 11:30:58
Or launch the application using
Web Start. Google search "jnlp shortcut icon"
There are no new questions, but there may be new answers.
I agree. Here's the link:
subject: How to give Icon to a Jar file ?
how do we load ................
change jar file's icon
icon for executable jar file
display icon for core java executable jar
change the icon of .jar file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015