String (MouseEvent event) { if (myIcon instanceof IconWithToolTip && findFragmentAt(event.getX()) == FRAGMENT_ICON) { String iconToolTip = ((IconWithToolTip)myIcon).getToolTip(false); if (iconToolTip != null) { return StringUtil.capitalize(iconToolTip); } } return super.getToolTipText(event); }