permaculture playing cards*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Handling MouseMovement in JTextArea" Watch "Handling MouseMovement in JTextArea" New topic
Author

Handling MouseMovement in JTextArea

Yogesh Pandit
Greenhorn

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: http://aspose.com/file-tools
 
subject: Handling MouseMovement in JTextArea
 
Similar Threads
popup menu when clicked on link
Image text on mouseover
html:image tag and onmouseover event
Image region selection
PopupMenu and MouseMotionListener