title: JList Listener cannot find symbol
body: <p>Trying to add a LIstSelectionListener and keep getting error cannot find symbol ListSelectionListener()
  ^
  symbol class ListSelectionListener</p>
  
  <pre><code>jlstExtras.addListSelectionListener(new ListSelectionListener() {
          public void valueChanged(ListSelectionEvent e) {
              int[] indices = jlstExtras.getSelectedIndices();
  
              int i;
              for( i = 0; i &lt; indices.length; i++){
                  if(indices[i] == 0)
                      delivery = 4.00;
                  else if (indices[i] == 1)
                      tip = .15;
                  else if (indices[i] == 2)
                      tip = .20;
  
              }       
  
          }
      });
  </code></pre>
  
  <p>error is in the first line part (new ListSelectionListener()</p>