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

          Swing可視化開發工具

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

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

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

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

          二、Eclipse
          Eclipse本身不提供可視化功能,需要插件來輔助。
          我了解到的,比較常用的插件有兩種
          1、Visual Editor  簡稱VE
          關于安裝 請參考
          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
          這個以前用過,感覺還可以。
          官方網站是
          http://cloudgarden.com/jigloo/

          下載網址
          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,編輯此文件,加入如下內容并保存。path = D:/eclipseplugins/yourplugin
          詳細使用,請自行搜索。

          其它還有

          jformdesigner

          官方網址:http://www.jformdesigner.com/

          Visual Swing Designer for Eclipse

          開源網址: http://code.google.com/p/visualswing4eclipse/

          WindowBuilder

          官方網址:http://www.instantiations.com/windowbuilder/


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

          本文來自CSDN博客,轉載請標明出處:http://blog.csdn.net/liubijin/archive/2010/03/29/5429713.aspx


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


          網站導航:
           
          主站蜘蛛池模板: 齐河县| 紫金县| 淮阳县| 宿州市| 海安县| 临泉县| 高安市| 治多县| 张家港市| 金寨县| 萨迦县| 霍州市| 五莲县| 鹤庆县| 陆河县| 广河县| 高雄县| 涿鹿县| 龙游县| 伊春市| 松桃| 玛多县| 油尖旺区| 读书| 江达县| 龙川县| 阿拉善盟| 高碑店市| 平顶山市| 益阳市| 呼伦贝尔市| 太保市| 临颍县| 鄂伦春自治旗| 大同县| 定陶县| 武威市| 临汾市| 怀宁县| 溆浦县| 思茅市|