setSelectedItem(((ComboBoxEditor) e.getSource()).getItem());
setSelectedItem(getEditor().getItem());
  public void actionPerformed(ActionEvent e)  {    setSelectedItem(((ComboBoxEditor) e.getSource()).getItem());    setPopupVisible(false);  }