public override string GetToolTipText(MouseEvent evt)
        {
            int index = LocationToIndex(evt.GetPoint());

            if (-1 < index)
            {
                StringBuilder s    = new StringBuilder();
                string        text = GetModel().GetElementAt(index).ToString();
                s.Append("<html>");
                //separate out into lines
                string textLeft    = text;
                bool   isFirstLine = true;
                while (textLeft.Length > 0)
                {
                    string curLine = string.Empty;
                    if (textLeft.Length > ProblemLineLength)
                    {
                        curLine  = Sharpen.Runtime.Substring(textLeft, 0, ProblemLineLength);
                        textLeft = Sharpen.Runtime.Substring(textLeft, ProblemLineLength, textLeft.Length);
                        //check if we're at the end of a word - if not, get us there
                        while (curLine[curLine.Length - 1] != ' ' && textLeft.Length > 0)
                        {
                            curLine  = curLine + Sharpen.Runtime.Substring(textLeft, 0, 1);
                            textLeft = Sharpen.Runtime.Substring(textLeft, 1, textLeft.Length);
                        }
                    }
                    else
                    {
                        curLine  = textLeft;
                        textLeft = string.Empty;
                    }
                    if (!isFirstLine)
                    {
                        s.Append("<br>");
                    }
                    s.Append(curLine);
                    if (!isFirstLine)
                    {
                        s.Append("</br>");
                    }
                    else
                    {
                        isFirstLine = false;
                    }
                }
                s.Append("</html>");
                return(s.ToString());
            }
            else
            {
                return(null);
            }
        }