简体   繁体   English

如何向NetBeans添加新的Java组件?

[英]How can I add new Java components to NetBeans?

I downloaded some new Java component, and now I want to add them to netbeans, but I don't know how. 我下载了一些新的Java组件,现在我想将它们添加到netbeans中,但我不知道如何。

How can I do that? 我怎样才能做到这一点?

What kind of component is it? 它是什么类型的组件? Do you mean a JAR file? 你的意思是JAR文件?

If so, then 如果是的话,那么

  • open the project you are working on. 打开你正在进行的项目。

  • Select the project. 选择项目。

  • Right click on it and select "Properties" 右键单击它并选择“属性”

  • Select "Libraries" 选择“图书馆”

  • Select "Add external jar" 选择“添加外部jar”

  • Browse to the JAR file and add it. 浏览到JAR文件并添加它。

If you're talking about adding a GUI component to the NetBeans palette, then check out the NetBeans help file on using the palette manager. 如果您正在讨论将GUI组件添加到NetBeans调色板,请使用调色板管理器查看NetBeans帮助文件。 If this doesn't help, you'll want to clarify your question greatly as it's somewhat ambiguous. 如果这没有帮助,你会想要大大澄清你的问题,因为它有点含糊不清。

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

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