public static <T> void installSpeedSearch(JComboBox<T> comboBox, Function<? super T, String> textGetter) {
    ComboboxSpeedSearch search = new ComboboxSpeedSearch(comboBox, null) {
      @Override
      protected String getElementText(Object element) {
        return textGetter.apply((T)element);
      }
    };
    search.setupListeners();
  }
public static <T> void installSpeedSearch(JComboBox<T> comboBox, Function<? super T, String> textGetter)