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.