学习从此开始
新闻资讯 资源下载 学习工具 English 繁體中文 风尚OK服饰
Java界面开发工具WindowBuilder

文具盒

 

在项目要进行最终界面展示开windows builder thumb Java界面开发工具WindowBuilder发时,又得回到熟悉而久违的的SWT/JFACE,继而追寻Eclipse的优秀的WYSIWYG插件WindowBuilder(没用WB之前都是手工敲代码,并界面排版),却惊喜的发现,不用再漫天搜查注册码,如今WindowBuilder的Java/Ajax工具开发商Instantiations已经于2010年8月被Google给收购了,WindowBuilder也作为免费工具开放,强大的Google!

并传闻Google这一收购用意不仅在GWT设计工具,更在于Ajax和Java方面,Google所有网页应用都部署了大量的Ajax,而Android应用则使用Java来创建。

 

WindowBuilder简介

WindowBuilder是一款基于Eclipse平台的双向Java的GUI设计插件式的软件。具备SWT/JFACE开发、Swing开发及GWT 开发三大功能,是一款不可多得的Java体系中的WYSIWYG工具。

基本界面视图如下:

userinterface Java界面开发工具WindowBuilder

WindowBuilder目前最新版是9.0,各版本历史见:http://code.google.com/javadevtools/wbpro/whatsnew/index.html

用户界面:

  • Design View – the main visual layout area.
  • Source View – write code and review the generated code
  • Structure View – composed of the Component Tree and the Property Pane.
    • Component Tree – shows the hierarchical relationship between all of the components.
    • Property Pane – displays properties and events of the selected components.
  • Palette – provides quick access to toolkit-specific components.
  • Toolbar – provides access to commonly used commands.
  • Context Menu – provides access to commonly used commands

主要特性:

WindowBuilder安装

目前只能通过windowbuilder更新地址在线安装,并基于Eclipse/MyEclipse进行安装:

    Eclipse 3.7 (Indigo)
    http://dl.google.com/eclipse/inst/d2wbpro/latest/3.7

具体详见:http://code.google.com/javadevtools/download-wbpro.html

WindowBuilder用户开发界面展示

与一些设计良好的可视化开发工具一样,Windowbuilder支持控件拖放,源代码直接管理,以及结构视图。

设计视图

支持控件拖放,可视化布局,数据绑定

design view Java界面开发工具WindowBuilder

源码视图

支持源码查看,修改,可以从控件直接定位到源码对应位置

source view bottom Java界面开发工具WindowBuilder

结构视图

包含控件面板,结构树面板,资源数据面板,定义各种参数属性。

structure view Java界面开发工具WindowBuilder

WindowBuilder英文官方开发介绍文档

官方在线文档地址:http://code.google.com/javadevtools/wbpro/index.html

里面介绍十分详细,当然对于各种控件设计,SWT,图形API想要了解的话,可以参考JDK,或者:

http://www.java2s.com/CN/Code/Java/SWT-JFace-Eclipse/