Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem wth ActionListener Interface

 
Ammy Singh
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings I am trying to apply ActionListener Interface to a small swing based application. I have a cancel button, all i want is that when cancel button is hit the application should exit. i have used
Method for making the cancel button affective.

But i am getting the following error:


here is the complete code


Please help
 
Tom Reilly
Rancher
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you need to
 
Ammy Singh
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Tom Reilly
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic