开发者

Display.getInstance().callSerially

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜