The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
August 2001



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.


Java mouse operations

Posted by Jenny on August 09, 2001 at 4:24 PM

I have a problem using mouse operations. I want to implement the MouseMotionListener and the MouseListener modes, but I don�t know how to declare both.
For example:

public class Main extends Applet implements MouseMotionListener`

Now I�d also want to use the MouseListener but I don�t know where to declare it. Can anyone tell me?


Sponsored Links

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