title: Java ChangeListener firing multiple times
body: <p>I have a simple changelistener on a slider. Can anyone explain why it is fired 3 times when I click on a new position.  Before I write code to save the prior value off somewhere to see if it really changed I'd like to find out if there is another way to figure it out.  The first tigger shows it as what it was, the next shows the new value the last repeats the new value.</p>
  
  <pre><code>        slider_1 = new JSlider();
      slider_1.addChangeListener(new ChangeListener() {
          public void stateChanged(ChangeEvent arg0) {
              if (fullyInitialized == 1) {
                  if (comboBox_1.getSelectedIndex() &lt; 1) {
                      SendData2Device(1);     
                  }       
              }
          }
      });
      slider_1.setOrientation(SwingConstants.VERTICAL);
  </code></pre>