dshrenik
asked on
Set icon for executable .jar
Please let me know how I can set my custom icon for the executable .jar when I export my project from eclipse. I do not want the default java logo.
ASKER
That is changing the icon only on the titlebar, not the main image Icon that gets displayed on the desktop or wherever the jar is located.
This is done within windows - open MyComputer - go to menu - Tools-Folder Options - File Types - select .jar - Advnced - there you can specify file for the icon
ASKER
This will change the icon for all jars right?
Can I do it only for my application?
Can I do it only for my application?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I guess you're right.
One of the solutions here says that I have to create an executable front door for this:
http://stackoverflow.com/questions/3919647/how-to-change-default-jar-icon
Do you have any idea how that can be done?
One of the solutions here says that I have to create an executable front door for this:
http://stackoverflow.com/questions/3919647/how-to-change-default-jar-icon
Do you have any idea how that can be done?
ASKER
You should have in your frame constructor:
this.setIconImage(Toolkit.