code: public void paintIcon (Component c, Graphics g, int x, int y)
      {
          Graphics2D gfx = (Graphics2D) g;
          AffineTransform otrans = gfx.getTransform();
          RenderingHints ohints = gfx.getRenderingHints();
  
          gfx.setRenderingHint(RenderingHints.KEY_INTERPOLATION,
              RenderingHints.VALUE_INTERPOLATION_BILINEAR);
          gfx.scale(_scale, _scale);
          _icon.paintIcon(c, g, x, y);
  
          gfx.setTransform(otrans);
          gfx.setRenderingHints(ohints);
      }
docs: documentation inherited from interface Icon