need help on NetBean 4.0

Hello

Up until now I have used an Emacs to write and compile java code, but It was always a hassel to specify all files etc. So I decided to upgrade to netBeans 4.0. But I need help to set that dam?thing up.

I just want to write:

import com.myName.packages.myPackage;

in my source file, but it will not recognise it. I believe it is because I have not 'told' netbeans where to look for my packages, but I am lost of how to do this. I have read the 'how to start a new project' files, but nothing there seem to fit the bill. If I go into the editing of a projects 'compiling sources', and try to 'add JAR/folder', it wont work. And then it all the talk about 'libraries'. What are they? Nothing on Java is called a library. Do NetBeans just add new terms as they see fit?!

Must I copy all my package to a special place in order to use them? Searching 'help' is useless. I must be extremely stupid to fail to do something so BASIC as to import a package.

Regard from a frustrated

JT

[1075 byte] By [jallatryne] at [2007-9-30 22:21:05]
# 1
They have a tool named "refactor".Simply create a new package for your project and the use the refactor to move your source files to this package.
w_ullrich at 2007-7-7 11:34:28 > top of Java-index,Administration Tools,Sun Connection...
# 2
This sounds like I have to copy my packages to every new project. Thats not what I want to do. I want to leave my packages (which are on another partition) where they are, and just import the neccessary classes when needed. Just like we all do when using java's native packages.JT
jallatryne at 2007-7-7 11:34:28 > top of Java-index,Administration Tools,Sun Connection...