code: public void removeSprite (Sprite sprite)
      {
          _metamgr.removeSprite(sprite);
  
          if (((sprite instanceof ActionSprite) ||
               (sprite instanceof HoverSprite)) && (--_actionSpriteCount == 0)) {
              removeMouseListener(_actionHandler);
              removeMouseMotionListener(_actionHandler);
          }
      }
docs: Removes a sprite from this panel.