title: Timer doesn't feel like overriding
body: <p>A friend of mine gave me this code for a timer. I must say that I'm a beginner, so I don't understand what @Override is, but the code worked for other friends.</p>
  
  <ul>
  <li>tijd is an int with the value of 10</li>
  <li>lx is the x value of a label </li>
  <li>s1 is also an int with a value of 3</li>
  </ul>
  
  <p>Eclipse says about the public void line:</p>
  
  <blockquote>
    <p>Multiple markers at this line:</p>
    
    <ul>
    <li>The method actionPerformed(ActionEvent) of type new ActionListener(){} must override a superclass method</li>
    <li>implements java.awt.event.ActionListener.actionPerformed</li>
    </ul>
  </blockquote>
  
  <p>The code is:</p>
  
  <pre><code> final Timer t = new Timer(tijd, new ActionListener(){
      @Override
      public void actionPerformed(ActionEvent e) {
          lx = lx-s1;
      }
  });
  t.start();
  </code></pre>
  
  <p>With it comes the suggestion of deleting <code>@Override</code>, but as I'm not sure of what it does I don't know if I'll be deleting an important thing of the code. I suppose it isn't there because some-one thought it would be funny to include the code.</p>
  
  <p>So my questions are:
  1. How do I move the label?
  2. What is the problem with <code>@Override</code>?</p>