Alexander, Sterling wrote:
> Exception in thread "main" java.lang.RuntimeException: This AcroFields 
> instance is read-only.

As documented in the book, you've obtained the AcroFields object from 
the reader instead of the stamper. Look at the API: PdfReader AND 
PdfStamper have a getAcroFields() method. One that gives you a read-only 
  object, another one that gives you an object that can be updated.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to