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.