boolean (@NotNull MouseEvent e, int clickCount) { if (clickCount > 1) return false; TreePath location = tree.getPathForLocation(e.getPoint().x, e.getPoint().y); if (location != null) { onMouseClicked(tree); // return isAutoScrollMode(); // do not consume event to allow processing by a tree } return false; }