title: PDF annotations in Java
body: <p>Actually, still now I have not got the exact way to add different types of annotation/lines/boxes/highlights using the mouse directly on PDF.</p>
  
  <p>I have tried different API (pdfbox, icepdf, iText, aspose) and successfully able to add text, text annotation, box annotation, images, but for each one i have some issue like:</p>
  
  <ul>
  <li>when i add object, it add in a new page</li>
  <li>when i add object it remove the old data</li>
  <li>i want use the existing ICEPDF viewer to add text, but it does not allow it. and if i try to mix other API with ICEPDF, then I am not able to get the mouse click position where need to add.</li>
  </ul>
  
  <p>There is only one API (ICE PDF) which allow to add box annotation direct on GUI by mouse but it does allow other things.</p>
  
  <p>If not possible in pdf viewer then is there any class which will allow to do this?</p>
  
  <p>I'm also open for any commercial library/class with a one time fee to do that.</p>