boolean hasAnimations(){
  return (animatableComponents != null && animatableComponents.size() > 0) || (internalAnimatableComponents != null && internalAnimatableComponents.size() > 0) || (animMananger != null && animMananger.isAnimating());
}

boolean hasAnimations ( ) { return ( animatableComponents != null && animatableComponents . size ( ) > 0 ) || ( internalAnimatableComponents != null && internalAnimatableComponents . size ( ) > 0 ) || ( animMananger != null && animMananger . isAnimating ( ) ) ; }
if this method returns true the edt won ' t go to sleep indefinitely
