import javax.microedition.lcdui.Display; import javax.microedition.lcdui.Form; import javax.microedition.lcdui.Ticker; import javax.microedition.midlet.MIDlet; import javax.microedition.midlet.MIDletStateChangeException; public class TickerTest extends MIDlet { private Display display=Display.getDisplay(this); Form form=new Form(""); public TickerTest(){ super(); } protected void startApp() throws MIDletStateChangeException { // TODO Auto-generated method stub form.setTicker(new Ticker("hello:miki")); display.setCurrent(form); } protected void destroyApp(boolean arg0) throws MIDletStateChangeException { // TODO Auto-generated method stub } protected void pauseApp() { // TODO Auto-generated method stub } }