You can use the ClientBundle interface. Create an interface which
extends ClientBundle and declare you image resources in it. Here is a
piece of code:
public interface AppResources extends ClientBundle {
@Source("image/frame.gif")
ImageResource frame();
}
Note that the path you provide in the @Source annotation is relative
to the AppResources interface.
Alexandre.
--
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.