I tested the code with GWT 2.3 and I do not get any warnings. Try a "Project->Clean.." and/or "Project->Build All" in Eclipse. Regards, Johan
On Jul 12, 11:32 pm, "seven.reeds" <[email protected]> wrote: > Hi, > > gwt: 2.3.0 > eclipse: 3.6.2 > > I must be doing something wrong. I have a FlexTable and I try to add > a ClickHandler but I am told it is depreciated. > > FlexTable panel = new FlexTable(); > > SponsorrList() { > initWidget(panel); > > panel.setStyleName("SpeakerList"); > panel.addClickHandler(new ClickHandler() { > @Override > public void onClick(ClickEvent event) { > ... > } > }); > > } > > If I mouse over "new ClickHandler" eclipse suggests adding a Suppress > Depreciation pragma. If I mouse over "addClickHandler" I see: > > The method addClickHandler(ClickHandler) in the type HTMLTable > is not applicable for the arguments (new ClickHandler(){}) > > I do not understand. > > sr -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. 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.
