File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes addActionListerner(this) has stopped working for me... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "addActionListerner(this) has stopped working for me..." Watch "addActionListerner(this) has stopped working for me..." New topic
Author

addActionListerner(this) has stopped working for me...

achana chan
Ranch Hand

Joined: Jul 29, 2002
Posts: 277
Hi.
Why does this peieve of code not work , it is not different from others I have written :

javac is now throwing this error :
addActionListener(java.awt.event.ActionListener) in java.awt.Button cannot be applied to (com.developer.LoginApplet) :
login.addActionListener(this);
^
Todate, buttons and listerners have not caused me any grief, just this one...

Solved.
I forgot to ...extends Applet implements ActionListener...
Thanks
[ November 22, 2002: Message edited by: achana chan ]

humanum errare est.
 
 
subject: addActionListerner(this) has stopped working for me...
 
Threads others viewed
Implementing scanner into a simple login page
Why are my JFrames closing?
how handle multiple form(panels)
Need help on login frame in java.
Applet ability to access HTML page!
IntelliJ Java IDE