zoukankan      html  css  js  c++  java
  • Ticker对象

    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 tickerObject extends MIDlet {
    
        Display display = null;
        Form f;
        public tickerObject() {
            super();
            f=new Form("Ticker Test");
            
        }
    
        protected void destroyApp(boolean arg0) throws MIDletStateChangeException {
            // TODO Auto-generated method stub
    
        }
    
        protected void pauseApp() {
            // TODO Auto-generated method stub
    
        }
    
        protected void startApp() throws MIDletStateChangeException {
            display=Display.getDisplay(this);
            f.setTicker(new Ticker("hello..."));
            display.setCurrent(f);
    
        }
    
    }
  • 相关阅读:
    Chain of Responsibility Pattern
    Visitor Pattern
    Command Pattern
    Mediator Pattern
    Memento Pattern
    Observer Pattern
    State Pattern
    Strategy Pattern
    HTMLTestRunner修改Python3的版本
    loadrunner 检查点
  • 原文地址:https://www.cnblogs.com/wangchunming/p/2451382.html
Copyright © 2011-2022 走看看