public String getToolTipText(MouseEvent e) {
TreePath pathForLocation = getPathForLocation(e.getX(), e.getY());
if (pathForLocation != null) {
Object userObject = TreeUtils.getUserObject(pathForLocation);
if (userObject instanceof User) {
User user = (User) userObject;
StringBuffer result = new StringBuffer();
if (!user.getName().equals(user.getDisplayName())) {
result.append(StringUtil.getMsg("user.tooltip", user.getName())).append("\n");
}
Message[] pendingMessages = myLocalMessageDispatcher.getPendingMessages(user);
if (pendingMessages.length > 0) {
IdeaLocalMessage ideaLocalMessage = (IdeaLocalMessage) pendingMessages[0];