code: public void addSprite (Sprite sprite)
      {
          _metamgr.addSprite(sprite);
  
          if (((sprite instanceof ActionSprite) ||
               (sprite instanceof HoverSprite)) && (_actionSpriteCount++ == 0)) {
              if (_actionHandler == null) {
                  _actionHandler = createActionSpriteHandler();
              }
              addMouseListener(_actionHandler);
              addMouseMotionListener(_actionHandler);
          }
      }
docs: Adds a sprite to this panel.