Showing posts with label otak atik. Show all posts
Showing posts with label otak atik. Show all posts

Saturday, November 26, 2011

click pengunjung

membuat pengunjung click memang mudah apa lagi ki ta tinggal pasang aja scrip ini sebelum










Real Time Web Analytics




java programming

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package hello;

import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
//import javax.microedition.m3g.Appearance;

/**
* @author gendon
*/
public class doa_hari extends MIDlet implements CommandListener {
private Display layar;
private Alert peringatan;
private Ticker animasi;
private Command keluar;
private ChoiceGroup pilih;
private Form frm;
private Boolean proses;

//private Alert alert = new Alert("Pesanku");



public doa_hari(){
pilih = new ChoiceGroup ("Pilih Doa", Choice.EXCLUSIVE);
frm = new Form("Program Doa Sehari-hari");
keluar = new Command("Exit", Command.EXIT, 0);
animasi = new Ticker("Doa Sehari-hari");
peringatan = new Alert("Are you Like");


}


public void startApp() {
frm.setTicker(animasi);

//alert.setType(AlertType.WARNING);
//alert.setString("hai...");


pilih.append("Doa Sebelum Makan", null);
pilih.append("Doa Sesudah Makan", null);
pilih.append("Doa Sebelum Tidur", null);
pilih.append("Doa Sesudah Tidur", null);
frm.append(pilih);

frm.addCommand(keluar);
frm.setCommandListener(this);

peringatan.setType(AlertType.WARNING);
peringatan.setString("Kumpulan Do'a-Do'a");
layar = Display.getDisplay(this);
layar.setCurrent(peringatan,frm);

}

public void pauseApp() {
}

public void destroyApp(boolean unconditional) {
notifyDestroyed();
}

public void commandAction (Command s, Displayable d){
notifyDestroyed();
}


}