Eclipse @Override problem

I'm working with Ubuntu Jaunty and I have installed eclipse recently (I wrote in Windows before).
After little problem with changing Eclipse's JRE to Sun's JRE (and not GCJ) I have imported a bunch of old projects.
I get an error because of this code:
this.file_Close.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent e)
#don't mind the tabs, copy paste sux#
Where "actionPerformed" is marked as an error and it says: The method "actionPerformed(ActionEvent e)" of type new ActionListener(){} must override a superclass method" and the correction option is to delete the @Override tag.
EMMM.... WHAT?!?!

Thank you =)


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion