By: Emiley J.
Normally it is the default icon which is seen as soon as the installation of a jar file is complete.. if you want to see your own icon for launching the application after installing the jar file then here is how you can do this.
achieve this manually just
add following entry into your JAD/Manifest files:
MIDlet-1: <App Name>,<AppIcon>,<MidletClass> where AppIcon is the name of icon image file along with path in the JAR file where it resides in the Jar ex: /app/appicon.png
You can add the MIDlet-Icon attribute that contains the absolute path of the icon file for the MIDlet suite, relative to the JAR file itself.
If you are using an IDE, then follow the steps below:
the Netbeans IDE
Just go to the project properties,
then go to the application descriptor.
and now click the midlet tab then you will find the icon option,correct.
Then click on this icon drop down and provide the name of the icon.
the eclipse + mtj
#Open the eclipse
#Find your project
#Find the Application descriptor
#Now give double click with mouse left bottom in this
#Find the label "optional" choose it, in the MIDlet icon box put the your icon path...e.g. C:\...
#save your changes.
Most Viewed Articles (in J2ME )
Latest Articles (in J2ME)
Comment on this tutorial
- Data Science
- Cloud Computing
- Java Beans
- Mac OS X
- Office 365
- Tech Reviews
Subscribe to Tutorials
4. How do I insert an image in a list? I am using Vis
View Tutorial By: anu at 2010-04-16 03:07:00
6. this site is so good...... How can we create a mp4
View Tutorial By: vikram raj at 2011-01-05 01:03:07
7. I'm having trouble figuring out how to sign my mid
View Tutorial By: Patrick Somers at 2011-04-04 14:54:45
8. This post is about adding an application icon to a
View Tutorial By: Rick at 2011-11-04 16:48:16
9. you can see this page: http://devlinslab.blogspot.
View Tutorial By: luis at 2011-11-08 06:46:23
12. Well I don't know if anybody knows it or not but N
View Tutorial By: rahul.del at 2012-08-16 10:05:25
15. how do you delete a specific line of text from a t
View Tutorial By: solomon at 2016-04-14 10:50:22