- Open NetBeans and add the first Library: Tools -> Librarias -> New Library.
- Give the name of ij Library Name and click OK
- Click the button Add JAR / Folder and then browse for the jar files that you want and select OK.
- Next add the Component Pallet Library: Tools -> Palette -> Swing / AWT Components.
- Click the new category and name ij.
- Select ij then click Add from the Library -> ij -> Next -> select all the components palette -> Next -> ij -> Finish
by doing this you will add your jar file and also use it to your project using Netbeans