The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
June 2000



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


Mouse Events

Posted by LFlash on June 22, 2000 at 3:55 PM

In HTML, you can use the ALT attribute on the IMG tag to display
text over top of an image when the mouse moves over the image
(without clicking on it). I'd like to create the same effect
but in a java applet. Is this possible? When the mouse moves
over top of an image, I'd like a small display to come up with
a few words of text, and then it to disappear after the mouse
is moved off of it. How can I do this in a java applet? Thanks!


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us