This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Problem wth ActionListener Interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Problem wth ActionListener Interface" Watch "Problem wth ActionListener Interface" New topic
Author

Problem wth ActionListener Interface

Ammy Singh
Ranch Hand

Joined: Oct 17, 2008
Posts: 36
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

SCJP1.4
i luv Ranch it always helps...!!!
Tom Reilly
Rancher

Joined: Jun 01, 2010
Posts: 618
I think you need to
Ammy Singh
Ranch Hand

Joined: Oct 17, 2008
Posts: 36
Thanks Tom Reilly
 
Have you checked out Aspose?
 
subject: Problem wth ActionListener Interface
 
jQuery in Action, 3rd edition