if(thePanel!=null)
for (Iterator<NEffect> it = chainedEffects.iterator(); it.hasNext();) {
it.next().init(thePanel);
}
// Add an effect completed handler for this effect to fire all chained effects
chainedEffectsHandlers = this.addEffectCompletedHandler(new EffectCompletedHandler() {
public void onEffectCompleted(EffectCompletedEvent event) {
for (Iterator<NEffect> it = chainedEffects.iterator(); it.hasNext();) {
it.next().play();
}
}