Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

J2me Application Icon and title bar ImageIcon

 
R.Joe
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i add image on the application icon and title bar icon in the J2me Midlet
 
Ransika deSilva
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
You can specify the image url in the MIDlet-n attribute as the 2nd parameter. If you want to get an image to the MIDlet, you have to add it to a resource folder and add the resource folder to your jar. You can read the image when you create an instance of the Image class (Image.createImage("/image.png") ) hope this helps. Regards..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic