This code use to make form in j2me
Kode dibawah ini digunakan untuk membuat form di j2me
import javax.microedition.lcdui.Display;
import javax.microedition.lcdui.Form;
import javax.microedition.midlet.MIDlet;
public class CreatingForm extends MIDlet {
private Display display;
private Form form;
public CreatingForm() {
display = Display.getDisplay(this);
form = new Form("Display Form ");
}
public void startApp() {
display.setCurrent(form);
}
public void pauseApp() {
}
public void destroyApp(boolean unconditional) {
}
}
download source
Running program
No comments:
Post a Comment