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 閱讀(534) 評論(0)  編輯  收藏 所屬分類: Eclipse


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


          網站導航:
           
          <2008年2月>
          272829303112
          3456789
          10111213141516
          17181920212223
          2425262728291
          2345678

          導航

          統計

          常用鏈接

          留言簿(3)

          隨筆分類

          隨筆檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 芷江| 固镇县| 广德县| 肥城市| 泰来县| 平安县| 英山县| 得荣县| 奇台县| 平陆县| 方正县| 鸡西市| 额济纳旗| 莱西市| 镇江市| 闽清县| 永清县| 延庆县| 曲松县| 诸暨市| 方山县| 观塘区| 云安县| 洪洞县| 凉城县| 馆陶县| 叙永县| 左权县| 从化市| 屏边| 杭锦后旗| 琼海市| 泸水县| 柳河县| 潮州市| 东方市| 筠连县| 青川县| 渝北区| 攀枝花市| 宜良县|