android @Override error before function
<p>I am having this error:</p>

<pre><code>@Override
public void paint(Canvas canvas) {
}
</code></pre>

<p>The method <code>paint(Canvas)</code> of type MainActivity must override or implement a supertype method.
The error disappears only if I remove the <code>@Override</code> before the method.
I have already set in project properties java compiler on level 1.6</p>

<p>Can you help me?</p>
