将 SwingX 1.0 安装到 NetBeans 6.7.1

发布于 2024-08-06 00:02:25 字数 614 浏览 4 评论 0原文

有没有人成功地将 SwingX 安装到 NetBeans 的 Palette 上?我按照 SwingX Wiki 中的说明进行操作,但存在一些问题:

组件出现在调色板中,但其图标无法正确显示。如果我在调色板管理器中添加“显示所有 JavaBeans”(而不是“显示标记的 JavaBeans”)显示的组件,那么我会在那里看到一些图标,但它们仅适用于 BeanInfo 对象:例如,有一个 带有图标的 JXTaskPaneContainer 项,但事实证明它实际上是一个 JXTaskPaneContainerBeanInfo 类。真实的 JXTaskPaneContainer 组件显示有一个问号图标。

显然,NetBeans 无法从其所在位置读取 BeanInfo 内容。我不知道这是 SwingX 问题、NetBeans 问题还是兼容性问题。有什么建议吗?

Has anyone successfully installed SwingX to NetBeans' Palette? I'm following the instructions in SwingX Wiki, but with some glitches:

The components appear in the Palette, but their icons won't show up correctly. If I add the componets shown by "Show All JavaBeans" (instead of "Show Marked JavaBeans") in the Palette manager, then I get some icons there, but they're for the BeanInfo objects only: for instance there's an JXTaskPaneContainer item with an icon, but it turns out to actually be an JXTaskPaneContainerBeanInfo class. The real JXTaskPaneContainer component is shown with a question mark icon.

Apparently NetBeans can't read the BeanInfo stuff from where it it is. I don't know if this is a SwingX issue, a NetBeans issue or a compatibility issue. Any tips?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文