aspose file tools*
The moose likes Beginning Java and the fly likes Help With HeadFirst Java Chapter 12 page 360 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Help With HeadFirst Java Chapter 12 page 360" Watch "Help With HeadFirst Java Chapter 12 page 360" New topic
Author

Help With HeadFirst Java Chapter 12 page 360

Adam Burda
Ranch Hand

Joined: Jul 19, 2011
Posts: 40
Hello all, Can someone help me out. Im stuck on page 360 in HeadFirst Java ( Getting a button's ActionEvent ). I did see other post's on this whit no luck for me.
Here is the code.



And here is the error.



[Thumbnail for Java01.jpg]

Costi Ciudatu
Ranch Hand

Joined: Oct 24, 2006
Posts: 74
Don't worry, it's just a typo: you apparently wrote actionPreformed instead of actionPerformed.
Adam Burda
Ranch Hand

Joined: Jul 19, 2011
Posts: 40
Well I do Thank you for your help. I feel like the idiot.
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

No problem at all. We've all faced the same problem numerous times in our careers. Please post the text of the error/exception next time. It is much easier to read (see this).


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Help With HeadFirst Java Chapter 12 page 360