成都计算机培训 网络报名 Java软件开发培训课程 朗沃成都软件Java培训中心师资介绍 成都软件培训中心开班信息 朗沃成都Java软件开发培训中心学员就业情况 Java朗沃成都软件培训中心在线咨询
成都朗沃教育课程升级啦!
□ 您现在的位置:首页> 学员天地> java学习> 正文

朗沃教育JavaSE教学中所用GUI工具:Java GUI开发工具WindowBuilder介绍

朗沃成都软件培训学校在线咨询         朗沃成都软件培训学校在线报名

关键词:java学习

20108月份时,Google 收购了 Instantiations 这家开发 Java/Ajax 工具的公司,同时宣布该软件免费。20101216Google 发布消息,称将把Instantiations原收费软件WindowBuilde开源,贡献给Eclipse基金会。

以下是Google Code中关于WindowBuilder的介绍:

WindowBuilder Pro (also known as just WindowBuilder) is a powerful and easy to use bi-directional Java GUI designer. It is composed of SWT Designer, Swing Designer and GWT Designer and makes it very easy to create Java GUI applications without spending a lot of time writing code to display simple forms. With WindowBuilder Pro you can create complicated windows in minutes. Use the visual designer and Java code will be generated for you. You can easily add controls using drag-and-drop, add event handlers to your controls, change various properties of controls using a property editor, internationalize your app and much more.

WindowBuilder Pro is built as a plug-in to Eclipse and the various Eclipse-based IDEs (RAD, RSA, MyEclipse, JBuilder, etc.). The plug-in builds an abstract syntax tree (AST) to navigate the source code and uses GEF to display and manage the visual presentation.       

Using WYSIWYG layout tools, you don''t need to write any lines of java code - the code will be generated for you by WindowBuilder Pro. You can easily add any component to a container by using drag-and-drop, add an event handler to your controls, change various properties of controls using property editors and much more. Generated code doesn''t require any additional custom libraries to compile and run: all of the generated code can be used without having WindowBuilder Pro installed. WindowBuilder Pro can read and write almost any format and reverse-engineer most hand-written Java GUI code. It also supports free form code editing (make changes anywhere...not just in special areas) and most user refactorings (you can move, rename and subdivide methods without a problem).

The editor is composed of the following major user interface components:

Design View - the main visual layout area.Source View - write code and review the generated codeStructure 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.

The editor also offers the following major features:

Bi-directional Code Generation - read and write almost any format and reverse-engineer most hand-written codeInternationalization (i18n) / Localization - externalize component strings, create and manage resource bundles.Custom Composites & Panels - create custom, reusable components.Factories - create custom factory classes and methods.Visual Inheritance - create visual component hierarchies.Event Handling - add event handlers to your components.Menu Editing - visually create and edit menubars, menu items and popup menus.Morphing - convert one component type into another.

下载WindowBuild请到:http://code.google.com/intl/zh-CN/javadevtools/wbpro/

朗沃教育2011Java课程体系第一阶段项目实战中,表示层采用Swing实现,业务层采用事务脚本架构模式组织业务逻辑,持久层采用DAO+JDBC实现。使用WindowBuilder做为Swing GUI开发工具,将大大提高开发效率。

朗沃成都软件培训学校在线咨询         朗沃成都软件培训学校在线报名
作者: 朗沃IT教育 成都中心
原载:朗沃IT教育 成都中心 lovoinfo.com
版权所有,转载时必须以链接形式注明作者和原始出处及本声明
在线客服
在线客服系统