Got it,

1. delete the semicolon at the end of @Source
2. make sure image is on classpath

Thanks,


On Mar 17, 1:10 pm, "David E." <[email protected]> wrote:
> I'm trying to use ClientBundle and I'm getting the following two
> errors in Eclipse with the following class.
>
> What am I doing wrong?
>
> Thanks,
> David
>
> Syntax error, insert "enum Identifier" to complete EnumHeaderName
> ImageResources.java     FormsUI_v2/src/com/dve/client/imagebundle       line 9
> Java Problem
>
> Syntax error, insert "EnumBody" to complete EnumDeclaration
> ImageResources.java     FormsUI_v2/src/com/dve/client/imagebundle       line 9
> Java Problem
>
> ************************************************************************************************************************
>
> import com.google.gwt.resources.client.ClientBundle;
> import com.google.gwt.resources.client.ImageResource;
>
> interface ImageResources extends ClientBundle {
>
>         @Source("images/GIF/tree/blank.gif");
>         ImageResource blank();
>
> }

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