• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What to Replace Deprecated Method With

 
Steve Dyke
Ranch Hand
Posts: 1643
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic