简体   繁体   English

在Netbeans中安装SwingX

[英]Installing SwingX in Netbeans

I have problem installing SwingX in my Netbeans IDE. 我在Netbeans IDE中安装SwingX时遇到问题。 I want to play with JXPanel and related components but i could not get right library and get it going. 我想玩JXPanel和相关的组件,但我无法得到正确的库并让它继续下去。

I tried to download swingx.jar but there is no valid link available in internet. 我试图下载swingx.jar,但互联网上没有有效的链接。 I somehow managed to download swingx-1.6.jar, swingx-beaninfo-0.9.7 and swingbean.jar. 我以某种方式设法下载swingx-1.6.jar,swingx-beaninfo-0.9.7和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. 我将这些jar文件导入到我使用tools-> library创建“SwingX”的新库中,之后转到tools-> palette-> Swing / AWT Components并添加了一个名为SwingX的新调色板组并添加了创建的库(SwingX)进去。 Now i get a block in my IDE as shown in the figure. 现在我在IDE中得到一个块,如图所示。

Picture 1 图片1
图片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 . 然后,我添加库到我的项目,该项目在图片2中所示,当我试图从调色板组插入到JXXollapsiblePane一个JFrame我正在gettign在图片3所示的跟踪误差。

Picture 2 图2
图3

Picture 3 图3
图2

swingx-1.6.jar添加到您的项目而不是swingx-beaninfo-0.9.7

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM