In the given J2ME Menus example, we have explained to create two different buttons that is going to perform as a back and forward buttons. You can see the series of photographs one by one using these sliding menu in J2ME.
Code to create back and forward button images in J2ME
r_arrow = Image.createImage("/slide_arrow_right.png");
|
To change the image as per our next event, we have created a function as given below:
public void slideItem(int next){
|
The Application is as follows:

Source Code of SlideMenu.java
import javax.microedition.lcdui.*;
|
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: Building a J2ME sliding menu with text and images(part-2) View All Comments
Post your Comment