The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
September 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.


adMouseLitener(this) twice?

Posted by Nimmi on March 14, 2001 at 2:23 PM

I'm not sure, but arent you adding this applet twice to the mouse listener? Would this not result in the info being passed twice to your event method?

Sorry, I'm new to mouse events. Trying to sort out something so I can get an applet to behave as an animated applet or as one accepting input from the mouse, depending on context. Your question has helped a bit.


Sponsored Links

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