This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Handling MouseMovement in JTextArea  RSS feed

Yogesh Pandit
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
Boost this thread!