8889909192939495969798
g2d.nextPage(); paintText(g2d); //Cleanup g2d.finish(); } finally { IOUtils.closeQuietly(out); } }