Click here to Skip to main content
15,909,332 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
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:
Java
import edu.umd.cs.piccolo.PCanvas;

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
Posted
Updated 2-Sep-12 13:59pm
v3

1 solution

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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900