I know it's supposed to work, but it doesn't. I have a class inheritance defined as follows:
public class VisitManagementForm extends FormWithTitle implements Property.ValueChangeListener {
Now it only allows to override the methods from extends, it doesn't make and indeed doesn't even allow me to implement/override methods from Property.ValueChangeListener. Why is that? I switched places of implements with extends, then only the implements worked and the extends didn't seem visible.
I recently turned the project to Maven, is it possible Maven is causing this madness? Maybe I need to specify something to allow this with it? Or am I just missing something in here?
Property.ValueChangeListener is supposed to force implement this method like this:
@Override
public void valueChange(ValueChangeEvent event) {
// TODO Auto-generated method stub
}
However now I get the error for it that it needs to override or implement a supertype method...
Edit: I'm using Java 1.6 for the project.
Edit: also if I try to implement something else (while leaving the extends there), it suggests me to implement the methods, but if I implement ValueChangeListener it doesn't suggest me to implement anything, but if you then remove the extends and leave just implements ValueChangeListener, it then suggest to implement it's methods again. But as long as I keep the extends, I seem to get the error mentioned above.