Hi,

I'm new to using GWT. So I need your help.

I'm trying to add an image to a panel from one of the examples in the
tutorial.

I'm getting "[ERROR] Line 31: No source code is available for type
com.gs.images.GsImageBundle; did you forget to inherit a required
module?"

gwt version: 1.5.3 for mac.

public interface GsImageBundle extends ImageBundle {

        public static final GsImageBundle INSTANCE = (GsImageBundle)
GWT.create(GsImageBundle.class);

        AbstractImagePrototype logo98x40();

}

in onModuleLoad method....
......

//get Image Bundle
    GsImageBundle gsImageBundle = GsImageBundle.INSTANCE
.....

panel.add(gsImageBundle.logo98x40().createImage());


.....

gives me an error when I run the app..



[ERROR] Line 31: No source code is available for type
com.gs.images.GsImageBundle; did you forget to inherit a required
module?


Some help here will be appreciated ... thanks

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to