boolean (@NotNull MouseEvent e, int clickCount) { if (e.getButton() == MouseEvent.BUTTON1 && e.getClickCount() == 2) { var idx = myList.rowAtPoint(e.getPoint()); if (idx >= 0) { myList.setRowSelectionInterval(idx, idx); var action = myList.getActionMap().get(OPEN); if (action != null) action.actionPerformed(null); return true; } } return false; }