Dominic Maricic wrote:
Now that’s taken care of I only have one other problem. I can’t seem
to generate 2 pdf’s without reopening the program. When I try to
create a second pdf the compiler tells me “The document has been
closed. You can't add any Elements.” I am using JFileChooser to choose
the filename. Here is the code I use to open the file. I am closing it
too otherwise I wouldn’t be able to open the pdf. Thanks
You created the Document object globally.
You should move the 'new Document(...)'
to the local scope.
br,
Bruno
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions