private void showList(JList list, Runnable selectAction) {
    JBPopupFactory.getInstance().createListPopupBuilder(list).
      setTitle(IdeBundle.message("popup.title.import.scheme")).
      setItemChosenCallback(selectAction).
      createPopup().
      showInCenterOf(myParent);
  }
private void showList(JList list, Runnable selectAction)