Java GUI创建框架

发布于 2024-07-25 04:47:34 字数 540 浏览 3 评论 0原文

您知道用于创建 Swing 屏幕的合适框架吗? 我需要为必须添加自己的屏幕的实施者扩展我的应用程序。

可能的选项:

  1. 带有 Matisse 编辑器的 Netbeans 平台

  2. Bean 构建器(非常旧且不受支持)

  3. 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:

  1. Netbeans platform with Matisse editor

  2. Bean builder (very old and unsupported)

  3. 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

吃不饱 2024-08-01 04:47:34

我过去曾使用过 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.

古镇旧梦 2024-08-01 04:47:34

“屏幕”是什么意思? 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.

楠木可依 2024-08-01 04:47:34

我还没有看到 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.

暖阳 2024-08-01 04:47:34

IntelliJ IDEA 还有一个 GUI 设计器

IntelliJ IDEA also has an GUI Designer.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文