/** Update the match list based on the model. */
 private void updateList() {
   @SuppressWarnings("unchecked")
   T[] matchingItems =
       (T[])
           IterUtil.toArray(_pim.getMatchingItems(), Comparable.class); // T erases to Comparable!
   _matchList.setListData(matchingItems);
   _matchList.setSelectedValue(_pim.getCurrentItem(), true);
   updateExtensionLabel();
   updateInfo();
   if (_force) {
     for (int i = 0; i < _buttons.length - 1; ++i) {
       _buttons[i].setEnabled(_matchList.getModel().getSize() > 0);
     }
   }
 }