};
progressBar.addPropertyChangeListener ( "indeterminate", propertyChangeListener );
progressBar.addPropertyChangeListener ( "enabled", propertyChangeListener );
updateAnimator ( progressBar );
c.addAncestorListener ( new AncestorAdapter ()
{
@Override
public void ancestorAdded ( final AncestorEvent event )
{
updateAnimator ( progressBar );