J2ME

alhadullillah ,, in this mornig i can write a new post in this wordpress .

in this tutorial i will give u how to deveope game j2me just a simple.in this case i will make a text run in j2me

like this in the picture :

this coding for that .. it’s simple …

1.Make a new project chossen J2ME

2.Make a Packages like this picture and class AplikasiTicker.java

[ sourcecode language=”java” ]

package Handphone;

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

*/

import javax.microedition.lcdui.Display;
import javax.microedition.lcdui.List;
import javax.microedition.lcdui.Ticker;
import javax.microedition.midlet.MIDlet;

/**
* @author life
*/
public class AplikasiTicker extends MIDlet {

public AplikasiTicker(){

Ticker ticker = new Ticker(“Selamat Datang”);

List list = new List(“Coba List”, List.IMPLICIT);
list.append(“Hello”, null);
list.append(“J2ME”, null);
list.setTicker(ticker);
Display.getDisplay(this).setCurrent(list);
}

public void startApp() {
}

public void pauseApp() {
}

public void destroyApp(boolean unconditional) {
}

}

[/sourcecode]

if you have finish write that code then RUN shift + F6 in netbean will show like picture on top posting.

—–next Tutorial will be coming——-

Diterbitkan oleh

Taken

i need somebody for help me to make anything what i need

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s