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