Text under mouseover

I have a jtextArea. want to know is there any inbuilt functions available in java to get texts onmouseover.

i tried,
private void myTextMouseMoved(java.awt.event.MouseEvent evt) {
try {
int caret = myText.getCaret();//myText is jtextarea
int start = Utilities.getWordStart(myText, caret );
int end = Utilities.getWordEnd(myText, caret );
String content = myText.select(start, end);
displayText.append(" " + content + "
"); //displayText is jtextararea

    } catch (BadLocationException ex) {
        Logger.getLogger(Editor.class.getName()).log(Level.SEVERE, null, ex);
    }

}

Do you mean a help text (aka: tool tip) pop-up?

Like this?

Your right, but i need for jtextarea

setToolTipText() is a method in JComponent, which JTextArea extends…

In other words, setToolTipText() is available for JTextArea and any other subclass of JComponent.

That i know, i want to know how to get the text under the mouse, so that i can call the appropiate tooltip content.