There are some open source out there: iTextPDF, JPedal... I created such a program using JPedal and it runs very well. If you are interesting, please PM me.