This is the immutable image example which shows how to create the immutable image using canvas. In this example ImageCanvas class extends the Canvas class to create the immutable image. In the constructor of ImageCanvas class we are trying to create the image and create a exit class as below:
public ImageCanvas(ImutableImage1 midlet){
|
And we are trying to paint the image in the paint() function. The Application is as follows:

Source Code of ImutableImage1.java
import javax.microedition.midlet.*;
|
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: Immutable Image using Canvas Class
Post your Comment