Jason Berk wrote:
> FYI:
> 
> 
> Listing 2.3: DirectorPhrases1.java
> 
> public static final Font BOLD_UNDERLINED = new Font(Font.TIMES_ROMAN,
> 12, Font.BOLD | Font.UNDERLINE);
> 
> ...does not compile


You're correct.
The example that can be downloaded passes the test, because
it uses FontFamily.TIMES_ROMAN instead of Font.TIMES_ROMAN.

The text in the book however, was wrong (and is now corrected
in the manuscript).

best regards,
Bruno

------------------------------------------------------------------------------
_______________________________________________
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