在 Netbeans 中安装 SwingX
我在 Netbeans IDE 中安装 SwingX 时遇到问题。我想使用 JXPanel 和相关组件,但我无法获得正确的库并使其运行。
我尝试下载 swingx.jar,但互联网上没有可用的有效链接。我以某种方式设法下载了 swingx-1.6.jar、swingx-beaninfo-0.9.7 和 swingbean.jar。我将这些 jar 文件导入到我使用工具 -> 库创建的“SwingX”新库中,然后转到工具 -> 调色板 -> Swing/AWT 组件,并添加了一个名为 SwingX 的新调色板组,并添加了创建的库(SwingX)进入其中。现在我的 IDE 中出现了一个块,如图所示。
图1
然后我将库添加到我的项目中,如图片 2 所示,当我尝试将 JXXollapsiblePane 从调色板组插入到 JFrame 中,但出现图片 3 中显示的以下错误。
图2
图片 3
I have problem installing SwingX in my Netbeans IDE. I want to play with JXPanel and related components but i could not get right library and get it going.
I tried to download swingx.jar but there is no valid link available in internet. I somehow managed to download swingx-1.6.jar, swingx-beaninfo-0.9.7 and swingbean.jar. I imported these jar files into the new library i created "SwingX" using tools->library and after that went to tools->palette->Swing/AWT Components and added a new palette group called SwingX and added the created library (SwingX) into it. Now i get a block in my IDE as shown in the figure.
Picture 1
Then i added the library into my project which is shown in the picture 2 and when i tried to insert JXXollapsiblePane from the pallete group into a JFrame i am gettign the following error shown in picture3.
Picture 2
Picture 3
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将 swingx-1.6.jar 添加到您的项目中,而不是 swingx-beaninfo-0.9.7
Add swingx-1.6.jar to your project instead of swingx-beaninfo-0.9.7