File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


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: 1462
    
    1

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.

 
GeeCON Prague 2014
 
subject: What to Replace Deprecated Method With