@Override
  public void onModelChanged() {
    boolean updateEmptyModel = myListModel.getSize() == 0;
    myListModel.syncModel();
    if (updateEmptyModel) {
      selectFirstSelectableItem();
      pack(true, true);
    } else {
      resizePopupIfNeeded();
    }
  }
@Override
  public void onModelChanged()