elingtse@gmail.com wrote in news:1136648086.250036.316200
@g47g2000cwa.googlegroups.com:
> Hi all,
>
[quoted text clipped - 22 lines]
> ^
> 3 errors
<code snipped>
Rather than just hand you the solution, I'll tell you where you can find
it.
Look at:
http://java.sun.com/j2se/1.5.0/docs/api/
Bookmark this page, you'll need it a lot.
In the left bottom frame, look for "ActionListener" and "ActionEvent",
the two classes that are mentioned in your error messages. Check both of
their pages. At the top of the page (directly above the title), you'll
see the packages that those classes belong to.
Make sure you import all the classes you use in the program!
Hope this helps,
Zero

Signature
Beware the False Authority Syndrome
ricky.clarkson@gmail.com - 13 Jan 2006 02:10 GMT
I would strongly recommend importing each class you use, individually,
rather than using the .* syntax.
import javax.swing.JButton;
import javax.swing.JFrame;
etc.
Now look for the import that imports ActionListener in your code. Oh,
it's not there?!