This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Create an image using j2me  RSS feed

 
Falcon Ken
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone help me in creating a image in PalmOS Emulator using J2ME?
where i need to put in the image file in which directory?
if possible pls give me the source code.
Thanks
 
Svend Rost
Ranch Hand
Posts: 904
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ken: Can anyone help me in creating a image in PalmOS Emulator using J2ME?
Sure - atleast I'd like to try. Try to take a look at javax.microedition.lcdui.Image

First to need to load the image, myImage, which you use the .createImage() method for. In order to draw myImage you need to invoke Graphics .drawImage() method.

Ken: where i need to put in the image file in which directory?
That's up to you. I usually have a res directory for ressources such as images.

Ken: if possible pls give me the source code.
haha.. funny guy.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!