File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Handling MouseMovement in JTextArea Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Handling MouseMovement in JTextArea" Watch "Handling MouseMovement in JTextArea" New topic

Handling MouseMovement in JTextArea

Yogesh Pandit

Joined: Jan 12, 2009
Posts: 1
I have JFrame->JPanel->JTextArea
I want to Popup an Image when the Mouse moves over a word.
Not all the words have Images.
Words are specific and I have relevant Images.
So far I have got the word when Mouse points at it. I use the Utilities class.
Now I want to display(Popup) an Image while the MousePointer is on the Word.
As soon as mouse moves I want the Image to disappear.
Please help me on how I should approach on this.

I agree. Here's the link:
subject: Handling MouseMovement in JTextArea
It's not a secret anymore!