Java UI 设计师 + 类似于 Visual Studio 的框架(拖放、浮动控件)
我正在寻找一个 Java UI 设计器,允许我以浮动模式将控件直接拖放到设计表面(没有 SWT 附带的北、南等麻烦)。 有这样的工具吗?
另外,我只对提供试用版的工具感兴趣。
编辑:我只对允许我拖/放项目的解决方案感兴趣,而不管面板边距、布局管理器等。位置最好应该仅相对于窗口边距。
提前致谢
I'm looking for a Java UI designer allowing me to drag and drop controls directly to the design surface in a floating mode (without the hassle of north, south etc that comes with SWT). Is there any such tool?
Also, I'm only interested in tools offering a trial version.
EDIT: I'm only interested in solutions allowing me to drag/drop items regardless of panels margin, LayoutManager stuff etc. The position should preferably be just relative to the window margin.
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您可以使用 NetBeans 来设计 GUI。 不要搞乱布局管理器,只需使用“绝对”布局即可。 它将把 UI 组件精确地放置在您放置它们的位置,逐个像素。
You can use NetBeans to design your GUI. Instead of messing with Layout Managers, just use the "Absolute" layout. It will put the UI Components exactly where you drop them, pixel for pixel.
Eclipse 有一个免费的可视化编辑器,称为 VEP。 请参阅 http://www.eclipse.org/vep/
实例化有一组非常好的工具试用版:
http://instantiations.com
请注意,对于任何视觉设计师,您都应该了解布局管理器的工作原理正确使用它们(并确保您的 UI 正确扩展/收缩/适应字体/区域设置)。 例如,如果您仅使用绝对位置,则内容可能会被裁剪。
请参阅 http://developer.java.sun.com/developer/onlineTraining/ GUI/AWTLayoutMgr/ 阅读我关于布局管理的文章,了解如何使用北、南等内容。 它只涵盖了最初的五个 Java 布局管理器,但描述了为什么需要它们以及如何嵌套它们。
Eclipse has a free visual editor called VEP. See http://www.eclipse.org/vep/
Instantiations has a very nice set of tools with a trial version:
http://instantiations.com
Note that for any visual designer, you should know how layout managers work to use them properly (and make sure your UI expands/contracts/adapts to font/locale properly). If you just use absolute placement, things can get cropped, for example.
See http://developer.java.sun.com/developer/onlineTraining/GUI/AWTLayoutMgr/ for my article on layout management to get a feel for how to use things like North, South. It only covers the original five Java layout managers, but describes why you need them and how you can nest them.
我推荐 JFormDesigner,它支持“自由设计”。 从
http://www.jformdesigner.com/doc/help/layouts/grouplayout。 html:
它有试用版并且非常易于使用。
I recommend JFormDesigner, which has support for "Free Design". From
http://www.jformdesigner.com/doc/help/layouts/grouplayout.html:
It has a trial version and is very easy to use.
Netbeans 有一个名为 Matisse 的拖放模块: http://www.netbeans.org/ kb/articles/matisse.html
Netbeans has a drag and drop module called Matisse: http://www.netbeans.org/kb/articles/matisse.html