The problem is your reading a getting started guide for GWT 1.6 but looking at GWT 2.0 examples.
On Jan 5, 4:18 pm, Igor Ganapolsky <[email protected]> wrote: > I am following the GWT Getting Started guide > at:http://code.google.com/webtoolkit/doc/1.6/gettingstarted.html#Install > It states about Shortcuts.java: > "Line 54 of the file is the line that constructs the "Mail" tab. > add(images, new Mailboxes(images), images.mailgroup(), "Mail");" > > However, Shortcuts.java doesn't have this code. In fact, here is the > entire class definition: > public class Shortcuts extends ResizeComposite { > interface Binder extends UiBinder<StackLayoutPanel, Shortcuts> { } > private static final Binder binder = GWT.create(Binder.class); > @UiField Mailboxes mailboxes; > @UiField Tasks tasks; > @UiField Contacts contacts; > /** > * Constructs a new shortcuts widget using the specified images. > * > * @param images a bundle that provides the images for this widget > */ > public Shortcuts() { > initWidget(binder.createAndBindUi(this)); > } > > } > > Any ideas??
-- 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.
