The Goal
          Keep walking……
          posts - 23,  comments - 1,  trackbacks - 0
          類似于ToolBar的升級。他們的區別在于CoolBar上的item可以被重新配置,重新定大小。CoolBar的一般用途就是包含toolbars或按鈕。

          String[] coolItemTypes = {"File", "Formatting", "Search"};
          CoolBar coolBar = new CoolBar(parent, SWT.NONE);
          for(int i = 0; i < coolItemTypes.length; i++)
          {
          CoolItem item = new CoolItem(coolBar, SWT.NONE);
          ToolBar tb = new ToolBar(coolBar, SWT.FLAT);
          for(int j = 0; j < 3; j++)
          {
          ToolItem ti = new ToolItem(tb, SWT.NONE);
          ti.setText(coolItemTypes[i] + " Item #" + j);
          }
          }
          posted on 2006-04-10 17:28 JOO 閱讀(347) 評論(0)  編輯  收藏 所屬分類: SWT & JFace IN ACTION
          Hit the target!

          <2006年4月>
          2627282930311
          2345678
          9101112131415
          16171819202122
          23242526272829
          30123456

          常用鏈接

          留言簿(2)

          隨筆分類(23)

          隨筆檔案(22)

          文章檔案(1)

          相冊

          Neighbor

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 大荔县| 永福县| 桐梓县| 鄂尔多斯市| 玉山县| 穆棱市| 泽普县| 长垣县| 阿克苏市| 洛川县| 宁武县| 中山市| 南木林县| 唐海县| 兴城市| 南平市| 开封县| 青阳县| 治县。| 团风县| 长宁区| 盘锦市| 噶尔县| 固始县| 舒兰市| 延长县| 永德县| 绍兴市| 湾仔区| 政和县| 镇安县| 桐乡市| 亚东县| 南皮县| 大英县| 张掖市| 济宁市| 壤塘县| 霸州市| 山阴县| 吉水县|