wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 1393

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.

 
 
subject: What to Replace Deprecated Method With
 
Similar Threads
Build Array in Servlet And Pass Back to Ajax Callback
Popup menu not responding with mouse event
Images in PDF files problem for ServletOutputStream
Mousedragging not working after updating the array.
Display a Chart from a Servlet to JSP