void (MouseEvent e) { JBPopupFactory.getInstance().createListPopup( new BaseListPopupStep<@Nls String>(PyBundle.message("python.configuration.choose.target.to.run"), Lists.newArrayList(getScriptPathText(), getModuleNameText())) { @Override public PopupStep onChosen(@Nls String selectedValue, boolean finalChoice) { setTargetComboBoxValue(selectedValue); updateRunModuleMode(); return FINAL_CHOICE; } }).showUnderneathOf(MyComboBox.this); }