开发者

Display.getInstance().callSerially

开发者 https://www.devze.com 2022-12-10 09:39 出处:网络
I\'m new to J2ME, in lots of places I have seen this: Display.getInstance().callSerially.. e.g. Display.getInstance().cal开发者_如何学运维lSerially(new Runnable() {

I'm new to J2ME, in lots of places I have seen this: Display.getInstance().callSerially..

e.g.

Display.getInstance().cal开发者_如何学运维lSerially(new Runnable() {
  public void run() {
    startThread();
  }
});

why we need to use this?what is the advantage?please anyone explain me..


Did you try reading the lengthy explanations in the javadoc-api?

There are several paragraphs in the javax.microedition.lcdui.Display#callSerially(java.lang.Runnable) apidoc and even a code sample explaining why and how this is to be used

0

精彩评论

暂无评论...
验证码 换一张
取 消