• Post Reply Bookmark Topic Watch Topic
  • New Topic

ActionListener Help  RSS feed

 
Don Mega
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm getting these 3 errors. I can't figure out what I'm doing wrong. Can somebody help me please.




Here's my code.


 
Wouter Oet
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Very small mistake: you need to import java.awt.event instead of java.awt.Event.
 
Don Mega
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh lol now I feel dumb ah well lesson learned thank you
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!