Source Code : Payment MIDlet
Java Is Open Source Programming Language You Can Download From Java and Java Libraries From http://www.oracle.com.
Click Here to download
We provide this code related to title for you to solve your developing problem easily. Libraries which is import in this program you can download from http://www.oracle.com.
Click Here or search from google with Libraries Name you get jar file related it
Payment MIDlet

import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
public class PaymentMIDlet extends MIDlet {
private Display display;
List options = null;
public PaymentMIDlet() {
options = new List("Method of Payment", Choice.EXCLUSIVE);
}
public void startApp() {
display = Display.getDisplay(this);
options.append("Visa", null);
options.append("MasterCard", null);
options.append("Amex", null);
display.setCurrent(options);
}
/**
* Pause is a no-op since there are no background activities or
* record stores that need to be closed.
*/
public void pauseApp() {
}
/**
* Destroy must cleanup everything not handled by the garbage collector.
* In this case there is nothing to cleanup.
*/
public void destroyApp(boolean unconditional) {
}
}
Thank with us