// -----------------------------------------------------
MouseListener aml = new AnimationMouseListener(this, factory);
animationsList.addMouseListener(aml);
MouseListener sml = new SpriteMouseListener(this, factory);
spritesList.addMouseListener(sml);
}