* @return The node created.
*/
private DefaultMutableTreeNode createAnimationNode(String animationName) {
SpriteAnimation animation = sprite.getAnimation(animationName);
animation.addObserver(this);
DefaultMutableTreeNode animationNode = new DefaultMutableTreeNode(
new NodeInfo(animation, animationName));
animationNode.setAllowsChildren(true);
return animationNode;