I recently encountered a code in my java program that is as follows..
Code:
button.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e)
{
//Some action here
}
});
I don't know what is after
new ActionListener() but it seems a method of ActionListener is overridden and in some block....huh

