Capturing button click on a JButton with image
Hi
My application uses several JButtons which do not have any text on it, but instead each one has an image. On clicking of a button the ActionListener fires an event wihch invokes the actionPerformed() method. In this method, depending on the button clicked , appropriate code has to be executed. So how do i identify which is the button clicked? (Since the button does not have associated text, rather it only has an image)
Kindly Help, thanks in advance.

