g2.setTransform(AffineTransform.getScaleInstance(
                                       (double)res/72,(double)res/72));



Figure 9