Listing Program :
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
public class a extends MIDlet implements CommandListener {
Display D;
Alert s;
public a(){
s=new Alert("Informasi","Belum ada",null,AlertType.INFO);
}
public void startApp() {
D=Display.getDisplay(this);
D.setCurrent(s);
}
public void pauseApp() {
}
public void destroyApp(boolean unconditional) {
}
public void commandAction(Command arg0, Displayable arg1) {
}
}
By : Cut Iswahyuni
Tidak ada komentar:
Posting Komentar