if (e.getPropertyName().equals(JProgressBar.INDETERMINATE_CHANGED_PROPERTY))
if (e.getPropertyName().equals("inderterminate"))
    public void propertyChange(PropertyChangeEvent e)    {      // Only need to listen for indeterminate changes.      // All other things are done on a repaint.      if (e.getPropertyName().equals(JProgressBar.INDETERMINATE_CHANGED_PROPERTY))	if (((Boolean) e.getNewValue()).booleanValue())	  startAnimationTimer();	else	  stopAnimationTimer();      else        progressBar.repaint();    }