title: How do I call an actionlistener while the slider is moving, not just when I let go of the mouse?
body: <pre><code>class AngleSlider implements ChangeListener {
          public void stateChanged(ChangeEvent e) {
          JSlider source = (JSlider) e.getSource();
          if (!source.getValueIsAdjusting()) {
  
              double dAngle = (double)source.getValue();
              pnlCannon.dCannonAngle=Math.toRadians(dAngle);
              pnlCannon.repaint();
  
          }
      }
  }
  </code></pre>
  
  <p>This is our current event listener.  Is there a different listener required to do what I want?</p>