• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Handling MouseMovement in JTextArea

 
Yogesh Pandit
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic