*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "change jar file Watch "change jar file New topic
Author

change jar file's icon

prabhu kandanur
Greenhorn

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..
prabhu
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.


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
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.
 
Consider Paul's rocket mass heater.
 
subject: change jar file's icon
 
Similar Threads
change the icon of .jar file
Include icon image in JAR file and JAR icons
Jar file to Thumbnail
running application with double click
I want to add/modify to this icon that runs the jar