code: public void paintIcon (Component c, Graphics g, int x, int y)
      {
          // move the sprite to a "location" that results in its image being
          // in the upper left of the rectangle we desire
          _sprite.setLocation(x + _sprite.getXOffset() + _padding,
                              y + _sprite.getYOffset() + _padding);
          _sprite.paint((Graphics2D)g);
      }
docs: documentation inherited from interface