Java GUI创建框架
您知道用于创建 Swing 屏幕的合适框架吗? 我需要为必须添加自己的屏幕的实施者扩展我的应用程序。
可能的选项:
带有 Matisse 编辑器的 Netbeans 平台
Bean 构建器(非常旧且不受支持)
Eclipse VEP(测试版 ) )
还有其他选择吗?
更新:我不是在寻找设计时工具来构建我的屏幕。 我正在寻找一个插件或平台来允许实现者(我的应用程序的用户)为不同的客户端构建自定义屏幕。 屏幕必须以某种格式保存(例如 xml),并将由另一个(仅查看)应用程序显示。
因此,像 Matisse4MyEclipse 这样的解决方案不适合,因为我无法将他们的专有插件与我的应用程序捆绑在一起。
更新2:
我要求的是一个框架,而不是一个设计时工具。 我希望在我的应用程序中嵌入某种组件,以便用户能够自己创建屏幕。
Do you know any decent framework for creating Swing screens?
I need to extend my application for implementors that will have to add their own screens.
Possible options:
Netbeans platform with Matisse editor
Bean builder (very old and unsupported)
Eclipse VEP (beta)
Any other option?
Update: I am not looking for design time tool to build my screens. I am looking for an addon or a platform to allow implementors (users of my application) to build custom screens for different clients. The screens have to be saved in some format (say xml) and will be displayed by another (view-only) application.
Because of that, solutions like Matisse4MyEclipse don't fit, because I can't bundle their proprietary plugin with my application.
Update 2:
I am asking for a framework, not a design-time tool. I want some kind of component to embed in my application, so that users will be able to create screens by themselves.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
实例化的 WindowBuilder - 商业产品
instantiations' WindowBuilder - a commercial product
我过去曾使用过 JGoodies Form API,而且我喜欢它的简单性。 (我不喜欢 GUI 构建器...)我想它可以使用 Spring 进行配置。
I have used the JGoodies Form API in the past, and I liked the simplicity of it. (I dislike GUI builders...) I guess it could be made configurable using Spring.
“屏幕”是什么意思? J框架? J面板?
如果您使用 NetBeans JPanel Form,则添加/修改组件非常容易。 通过每个“屏幕”一个 JPanel,您可以使用选项卡等将一堆屏幕放在一个向导中,可以非常自由地复制、编辑和组合 NetBeans GUI 表单。
What do you mean by "screens"? JFrames? JPanels?
If you use the NetBeans JPanel Form, it's pretty easy to add/modify components. With one JPanel per "screen" you can put a bunch of screens together into a wizard, using tabs, etc NetBeans GUI forms can be copied, edited, combined pretty freely.
我还没有看到 Matisse4MyEclipse 提到过。 也就是说,它是 MyEclipse 的一部分,不是免费的,因此在我看来,这里可能存在潜在的许可问题。
至于让用户为不同的客户实现屏幕,听起来你的用户将会精通技术。 也许您可以使用 Groovy 的 SwingBuilder 以可编辑的形式定义这些视图。 我认为这可能比设计时工具更符合您的需求。
I haven't seen Matisse4MyEclipse mentioned yet. That said, it's part of MyEclipse, which isn't free, so it seems likely to me that there are potential licensing issues here.
As for having users implement screens for different clients, it sounds like your users are going to be tech savvy. Perhaps you could use Groovy's SwingBuilder to define these views in an editable form. I think this is perhaps more of what you're looking for than a design-time tool.
IntelliJ IDEA 还有一个 GUI 设计器。
IntelliJ IDEA also has an GUI Designer.