I get the error message in the development shell:

 The method onClick(Widget) of type new ClickListener(){} must
override a superclass method

When I do

addClickListener(new ClickListener() {

            @Override
            public void onClick(Widget sender) { ...

but all is fine if I have

addClickListener(new ClickListener() {

            public void onClick(Widget sender) { ...


Why is it wrong to include "@Override"? Eclipse quick fix puts it
there for me.

Best,

-ken
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to