简体   繁体   English

Gui设计师为java

[英]Gui designer for java

i need a free tool like Jform designer or free plug-in for intelliJ idea to make gui form easier! 我需要一个免费的工具,如Jform设计师或免费插件,以智能的想法,使gui形式更容易! az a mather o fact gui design in intelliJ idea is not good enough for me!i can't use it easy and i do'nt want to writing code for its weakness or use netbeans!i need solution for it!?? 事实上,智能设计中的gui设计对我来说不够好!我不能轻易使用它,我不想为其弱点编写代码或使用netbeans!我需要解决方案! thanks very very much 非常感谢

Netbeans has one, it's called Matisse . Netbeans有一个, 叫做马蒂斯

Eclipse has a number of them, the only one I'm remotely familiar with is Window Builder . Eclipse有很多,我唯一熟悉的是Window Builder

Echoing what everyone else has said about Netbeans. 回应其他人对Netbeans所说的话。 It has been wonderful to me for wiring up forms, but after that hand coding has been the way I go thereafter. 对我来说,连接表格非常棒,但之后手工编码就是我以后的方式。 I typically structure my classes as follows: 我通常按​​如下方式构建我的类:

public class MyPanel extends javax.swing.JPanel
{
    public MyPanel(...)
    {
       initComponents();
       build();
       initListeners();
    }
 }

where initComponents() is the autogenerated layout from NetBeans. 其中initComponents()是NetBeans的自动生成布局。 Then I add any additional components in my build() which I want to either hand code or set default params that I didn't want to do in the form designer, and then add my listeners in another hand coded method, initListeners(). 然后我在build()中添加任何其他组件,我想要手动编写代码或设置我不想在表单设计器中执行的默认参数,然后在另一个手动编码方法initListeners()中添加我的侦听器。 That way even I'm not stuck in Netbeans, when I move away from it for further development (which I do in Eclipse). 这样,当我离开它进行进一步开发(我在Eclipse中做)时,我甚至不会陷入Netbeans。 The downside is that I have two IDEs. 缺点是我有两个IDE。

Google recently donated the former proprietary GUI designer WindowBuilder to the Eclipse foundation. 谷歌最近将以前的专有GUI设计师WindowBuilder捐赠给了Eclipse基金会。 It's a great tool, check it out: http://code.google.com/intl/de-DE/javadevtools/wbpro/ 这是一个很棒的工具,请查看: http//code.google.com/intl/de-DE/javadevtools/wbpro/

Some of its features include: 它的一些功能包括:

  • Bi-directional Code Generation - read and write almost any format and reverse-engineer most hand-written code 双向代码生成 - 几乎可以读取和写入任何格式,并对大多数手写代码进行反向工程
  • Internationalization (i18n) / Localization - externalize component strings, create and manage resource bundles. 国际化(i18n)/本地化 - 外部化组件字符串,创建和管理资源包。
  • 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. 变形 - 将一种组件类型转换为另一种组件类型。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM