File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes change jar file's icon Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "change jar file Watch "change jar file New topic

change jar file's icon

prabhu kandanur

Joined: Dec 24, 2003
Posts: 14
Hi all
i have created one jar file(application bundle). it is taking default icon, but i need to change the icon for that jar file
how to change the jar file's icon..
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
JAR files don't really have an icon. (Unless you're talking about whatever Windoze displays for you). It all depends on who's displaying the icon. Ask that program's documentation where to put the icon. This isn't addressed in the JAR specification I believe.

Nitin Shivaram
Ranch Hand

Joined: Jan 17, 2001
Posts: 71
If you are talking about changing the icon outside the Java programming using Windows, right click on Jar file | Properties | Change Icon whould do the trick.

You could also make changes to the Windows Registry ( Achtung !!), but then it would change the icon for all the jar files on the system.

Nitin S<br />Sun Certified Java Programmer for the Java 2 platform.<br />Tekmetrics Certified Java Programmer For the Java 2 Platform.
I agree. Here's the link:
subject: change jar file's icon
It's not a secret anymore!