shaf78
asked on
jar manifest icon attribute
Hi, This should be a simple answer for anyone familiar with manifests for executable jar files. I'm trying to change the icon by declaring the icon to be used in the icon attribute of the manifest. I know that this attribute exists but I don't no the proper format of the attribute or how to include it in my manifest file.
So far this is what I am using in my manifest:
Manifest-Version: 1.0
Main-Class: exam.PER_0
Thanks for any help you can provide
shaf
So far this is what I am using in my manifest:
Manifest-Version: 1.0
Main-Class: exam.PER_0
Thanks for any help you can provide
shaf
ASKER
Ah you're using ME.
have u tried:
MIDlet-Icon: myicon.png
have u tried:
MIDlet-Icon: myicon.png
You can't just add this to the manifest, it needs to be in the .jad file too.
The icon should appear in the /res directory of the project (under ...wtk2.0/apps/yourapp/). Normally, I create a further directory under /res called /images (or /icons). In this case, the MIDlet-Icon should be set to /images/myicon.png.
Finally, don't forget to include the reference to the icon as the second parameter of the MIDlet-1 attribute (which contains MIDlet name, MIDlet icon, MIDlet class).
The icon should appear in the /res directory of the project (under ...wtk2.0/apps/yourapp/). Normally, I create a further directory under /res called /images (or /icons). In this case, the MIDlet-Icon should be set to /images/myicon.png.
Finally, don't forget to include the reference to the icon as the second parameter of the MIDlet-1 attribute (which contains MIDlet name, MIDlet icon, MIDlet class).
> You can't just add this to the manifest, it needs to be in the .jad file too.
Should have mentioned that, thought specifying an image without including an image would be obviously a bit silly :)
Should have mentioned that, thought specifying an image without including an image would be obviously a bit silly :)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
;-)
I'm not aware of one, can you point to some doco that specifies it?