String (MouseEvent event) { final int i = event != null ? locationToIndex(event.getPoint()) : -1; if (i != -1) { final Object elem = getModel().getElementAt(i); if (elem instanceof ReopenProjectAction) { @SystemIndependent String path = ((ReopenProjectAction)elem).getProjectPath(); boolean valid = isPathValid(path); if (!valid || RecentProjectPanel.this.projectsWithLongPaths.contains(elem)) { String suffix = valid ? "" : " " + IdeBundle.message("recent.project.unavailable"); return PathUtil.toSystemDependentName(path) + suffix; } } } return super.getToolTipText(event); }