views:

18

answers:

1

Is there a way to implement a KeyListener and MouseListener in the same applet? I already tried any ways I thought that would work and I tried Google. :\

my try:

C:\Users\Dan\Documents\DanJavaGen\tileGen.java:23: tileGen is not abstract and does not override abstract method mouseExited(java.awt.event.MouseEvent) in java.awt.event.MouseListener
public class tileGen extends JApplet implements KeyListener, MouseListener  {
       ^
1 error
A: 
Alain O'Dea
Thanks for the tip! I'm giving you a lot of rep, huh? Hehe I got another question. :P
Dan
Actually, about that rep, please vote up and accept my answers. Quid pro quo monsieur :D
Alain O'Dea