void (MouseEvent e) { if (_isSelectionClick(e)) { Component c = SwingUtilities.getDeepestComponentAt(e.getComponent(), e.getX(), e.getY()); if (c instanceof InplaceButton) return; myTabs.select(info, true); JBPopup container = PopupUtil.getPopupContainerFor(label); if (container != null && ClientProperty.isTrue(container.getContent(), MorePopupAware.class)) { container.cancel(); } } else if (e.getButton() == MouseEvent.BUTTON2) { closeTab((IdeFrameImpl)getInfo().getObject(), false); } else { handlePopup(e); } }