title: Java adding third party source library to a project in netbeans
body: <p>I want to use a third party source package in my project. I am using NetBeans IDE. I can add the binary jar file and I can compile my application. However, I sometimes need to change and customize the third party's code. </p>
  
  <p>I tried to add the third party's source jar, </p>
  
  <pre><code>    MyProject&gt; Customize &gt; Libraries &gt; Add Jar
  </code></pre>
  
  <p>but necessary libraries can not be found so the application can not be run or compiled. </p>
  
  <p>I also tried to add the source code as a project, but it did not work either.</p>
  
  <p>For resolve this issue, I can change the source code, create a new jar and then add the jar in my application's library. However, considering that I would need to test and may need to change the code many times, it is not a scalable solution.</p>
  
  <p>Finally, I need a way to import third party source code in such a way that when I compile and build my application all changes (including the ones I do in the third party's code) take effect. </p>
  
  <p>Thank you in advance for your time.</p>