public void addListListener(ActionListener a){
  listeners.add(a);
}

public void addListListener ( ActionListener a ) { listeners . add ( a ) ; }
adds an action listener that fires an event when an entry in the auto - complete list is selected . notice that this method will only take effect when the popup is reshown , if it is invoked when a popup is already showing it will have no effect .
