Quoting "Ricky M. Codizar" <[EMAIL PROTECTED]>: > Here is the error. I'm working on a Japanese environment and the error > message may not have the exact words as generated > by iText. I just translated it to English. > > BasicProjectFrame3.java:121: exception com.lowagie.text.DocumentException is > not specified. In throwing or catching, > throw must be declared. > BaseFont bf = BaseFont.createFont(BaseFont.HELVETICA, > BaseFont.CP1252, BaseFont.NOT_EMBEDDED); > > Hope you could help.
I didn't follow the earlier posts, but this looks more like a compile error than a runtime error. It says you didn't throw or catch a DocumentException. Doesn't this explain the problem? Method createFont throws a DocumentException. If you want to use it, you need to put it in a try {} catch(DocumentException e) {} block or you need to add the throws clause to the method in which you create the BaseFont. Bruno ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions