title: How do I use classes from an imported library in netbeans (java)
body: <p>This must be the simplest thing. I have been trying to do this for hours. I know how to import libraries into netbeans but how do I use classes in these libraries using imports? I have been trying unsuccessfully for hours to use the javacv library on 64bit linux and when I try to import the necessary files from the library netbeans tells me the package does not exist. I want to access a java file <code>example.java</code> inside <code>com.googlecode.javacv.cpp.linux-x86_64</code> which is inside <code>opencv-2.4.8-linux-x86_64.jar</code>. How do I actually import this so I can do the following: <code>example obj = new example</code>? </p>
  
  <p>Also, in almost every reference to javacv I see this <code>import com.googlecode.javacv.CanvasFrame;</code> but nowhere have I actually seen this in any of the files readily available by google. What's the deal?</p>