Xiaobo Sun

          Eclipse-Unix http://umlfact.berlios.de/~s_xsun/

          Display.getDefualt.syncExec

          Causes the <code>run()</code> method of the runnable to be invoked by the user-interface thread at the next reasonable opportunity. The caller of this method continues to run in parallel, and is not notified when the runnable has completed.  Specifying <code>null</code> as the runnable simply wakes the user-interface thread when run.
          Note that at the time the runnable is invoked, widgets that have the receiver as their display may have been disposed. Therefore, it is necessary to check for this case inside the runnable before accessing the widget.
          Display.getDefault.asysnExec(Runnable)
          Causes the <code>run()</code> method of the runnable to be invoked by the user-interface thread at the next reasonable opportunity. The thread which calls this method is suspended until the runnable completes.  Specifying <code>null</code> as the runnable simply wakes the user-interface thread.
          Note that at the time the runnable is invoked, widgets that have the receiver as their display may have been disposed. Therefore, it is necessary to check for this case inside the runnable before accessing the widget.
          Display.getDefault.sysnExec(Runnable)

          posted on 2008-02-13 11:25 Xiaobo Sun 閱讀(531) 評論(0)  編輯  收藏 所屬分類: Eclipse


          只有注冊用戶登錄后才能發(fā)表評論。


          網(wǎng)站導(dǎo)航:
           
          <2008年2月>
          272829303112
          3456789
          10111213141516
          17181920212223
          2425262728291
          2345678

          導(dǎo)航

          統(tǒng)計(jì)

          常用鏈接

          留言簿(3)

          隨筆分類

          隨筆檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 彰武县| 屯留县| 信宜市| 珠海市| 永仁县| 东方市| 贞丰县| 嘉祥县| 高碑店市| 凤山市| 石河子市| 马公市| 青川县| 陵水| 永川市| 中超| 准格尔旗| 澄城县| 淮安市| 周宁县| 历史| 突泉县| 桂东县| 武威市| 定远县| 九台市| 郎溪县| 青岛市| 济宁市| 房产| 花莲市| 唐河县| 垫江县| 哈密市| 从化市| 应用必备| 林州市| 西贡区| 湖口县| 赤水市| 内丘县|