code: public final void fillEntryCollections(final Collection<? extends IdAndNameBean<T>> pentries) {
      this.entries.clear();
      this.entries.addAll(pentries);
  
      clear();
      for (final IdAndNameBean<T> entry : this.entries) {
        this.addItem(entry.getName(), Objects.toString(entry.getId()));
      }
    }
docs: fill entries of the listbox.
  
  @param pentries list of entries