posts - 30, comments - 5, trackbacks - 0, articles - 0
            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

          Swing可視化開發(fā)工具

          Posted on 2010-04-18 10:20 無所謂 閱讀(1082) 評論(0)  編輯  收藏 所屬分類: J2SE

          對于剛接觸Swing的開發(fā)人員,由于水平所限,需要一個可視化的開發(fā)工具,來輔助理解學(xué)習(xí)和開發(fā)。也有時候是工作緊迫,需要可視化工具來提高工作效率,節(jié)省寶貴的時間。

          在此介紹下,如何可視化開發(fā)Swing組件。現(xiàn)在Java主流的兩款開發(fā)工具NetBeans和Eclipse都提供了可視化的功能。

          一、NetBeans
          這個無需多言,Sun官方推薦的Swing開發(fā)工具,自身已經(jīng)集成了可視化工具。
          下載地址:
          http://www.netbeans.org/downloads/index.html

          二、Eclipse
          Eclipse本身不提供可視化功能,需要插件來輔助。
          我了解到的,比較常用的插件有兩種
          1、Visual Editor  簡稱VE
          關(guān)于安裝 請參考
          http://wiki.eclipse.org/VE/Installing/Archived

          說明如下:
          VE Installation
          Make sure eclipse is close.
          Go to http://sourceforge.net/project/showfiles.php?group_id=131065&package_id=154855
          Click "Visual Editor patched as in bug 202562"
          Click org.eclipse.visualeditor-1.3.0.200709121813.zip
          Unpack the .zip file somewhere
          In that extracted folder, there is an " org.eclipse.visualeditor-1.3.0.200709121813" subdir, copy what's in that directory to your eclipse installation dir, say yes if prompted to overwrite.
          Open eclipse again and go to Window->Preferences->Java. If after expanding 'Java' you see Visual Editor at the bottom, then you are good to go.

          下載地址
          http://sourceforge.net/projects/easyeclipse/files/Various%20Patches/Visual%20Editor%20patched%20as%20in%20bug%20202562/org.eclipse.visualeditor-1.3.0.200709121813-2.zip/download

          2、jigloo
          這個以前用過,感覺還可以。
          官方網(wǎng)站是
          http://cloudgarden.com/jigloo/

          下載網(wǎng)址
          http://cloudgarden.com/jigloo/dnld_redirect.html

          安裝說明
          Please note: if you have installed 4.0 RC1 or RC2 you will need to delete these folders from the plugins and features folders in eclipse before installing version 4.0.
          Alternatively, you can download the zip file from here. Unzip it into the eclipse folder so that the structure is eclipse/plugins/com.cloudgarden.jigloo_4.0.0

          安裝都很簡單,建議使用link的方式來安裝Eclipse插件,方便插件管理,如下所示:
          解壓yourplugin.zip到任意目錄下,比如D:\eclipseplugins\yourplugin。
          在Eclipse的目錄下有個links文件夾,在里面新建文件,命名為anyname.link,編輯此文件,加入如下內(nèi)容并保存。path = D:/eclipseplugins/yourplugin
          詳細(xì)使用,請自行搜索。

          其它還有

          jformdesigner

          官方網(wǎng)址:http://www.jformdesigner.com/

          Visual Swing Designer for Eclipse

          開源網(wǎng)址: http://code.google.com/p/visualswing4eclipse/

          WindowBuilder

          官方網(wǎng)址:http://www.instantiations.com/windowbuilder/


          使用可視化工具拖拽編寫Swing程序,一定要注意變量名和代碼的可讀性,否則代碼非常讓人崩潰。

          本文來自CSDN博客,轉(zhuǎn)載請標(biāo)明出處:http://blog.csdn.net/liubijin/archive/2010/03/29/5429713.aspx


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


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 磴口县| 扎鲁特旗| 亚东县| 揭东县| 襄城县| 唐山市| 雷山县| 崇礼县| 阳新县| 浪卡子县| 霍林郭勒市| 永靖县| 新乐市| 县级市| 庆城县| 海口市| 万盛区| 阜南县| 新绛县| 互助| 阿瓦提县| 陇南市| 襄樊市| 公主岭市| 旅游| 广南县| 九江市| 蓝田县| 民县| 遵化市| 洞口县| 昭苏县| 大石桥市| 新平| 浦江县| 揭阳市| 白朗县| 台中县| 锡林浩特市| 乌兰察布市| 娄底市|