importjava.awt.*; importjava.awt.event.*; importjava.awt.geom.*; importjava.awt.font.*; publicclassClippingextendsCanvas{ publicClipping(){ setBackground(Color.white); } publicvoidpaint(Graphicsg){ Graphics2Dg2; g2=(Graphics2D)g; g2.setRend