*
The moose likes Other Open Source Projects and the fly likes What to Replace Deprecated Method With Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "What to Replace Deprecated Method With" Watch "What to Replace Deprecated Method With" New topic
Author

What to Replace Deprecated Method With

Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1436

The following code says the Graphics2D g2 = tp.createGraphics( width, height, new DefaultFontMapper() );
is deprecated. The infor I found says to use the constructor of the PdfPrinterGraphics2D class. Can someone help me take this code and change it.

 
jQuery in Action, 2nd edition
 
subject: What to Replace Deprecated Method With