The source code of the Java library requires no external libraries, everything it needs is in there.
You do have to be certain that both the src and libs_src folders are used as source folders.
I don’t know how you would do that in Netbeans, I use Eclipse myself, although that shouldn’t matter that much.