将库导入Netbeans IDE [英] Importing Libraries into Netbeans IDE

查看:101
本文介绍了将库导入Netbeans IDE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在大学项目中使用Eclipse IDE已经超过3年了.
自从我毕业以后,我决定测试Netbeans IDE.
到目前为止,我比Eclipse更喜欢它,但是我遇到了一个问题,想知道是否有人可以帮助我?

我想添加一个名为Piccolo2D的库/工具包.我使用Eclipse轻松添加了库/工具包,但是使用Netbeans似乎遇到了问题.

我按照入门"页面( http://www. piccolo2d.org/learn/out-of-box-java.html [

Hi Everyone,

I have been using the Eclipse IDE for over 3 years now for my University projects.
Since I have graduated I decided to test out the Netbeans IDE.
So far I am liking it much more than Eclipse, however I am having a problem and wondered if anybody can help me?

I want to add a library/toolkit called Piccolo2D. I added the library/toolkit with ease using Eclipse however I seem to be having problems using Netbeans.

I followed the steps stated on the ''Getting Started'' page, (http://www.piccolo2d.org/learn/out-of-box-java.html[^]) and copied the steps needed using the Netbeans IDE instead of the Eclipse IDE, however when I come to write the imports:

import edu.umd.cs.piccolo.PCanvas;


Netbeans似乎不承认/发现这些库.

请有人可以帮助我将库导入Netbeans,以便我能看到我做错了吗?

谢谢,
致谢


Netbeans don''t seem to acknowledge/find these libraries.

Please can someone help me import libraries into Netbeans, so I can see what I am doing wrong?

Thanks,
Kind Regards

推荐答案

您要输入您的输入吗?就像回到90年代一样.

它与Eclipse中的相​​同,您必须以类似的方式将这些库添加到您的项目中.

如何将库导入到Netbeans项目 [
You are typing your imports? That''s like a time travel back to the 90s.

It''s quite the same as in Eclipse, you''ve got to add the libs to your project in a similar way.

How to import libs to Netbeans project[^]

As soon as you have added the lib (jar-file) to your project the imports should come automatically as you request something from the lib.


这篇关于将库导入Netbeans IDE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆