I have a java class with uibinder layout file where I want to make reference to an image and display it within a focusPanel.
What is the best way of using static images within uibinder? And why might my image not be found?
src/main/java/de/myProject:
> .ui.xml
> .java
> image.png
ui.xml:
<g:FocusPanel>
<g:Image url="image.png"/>
</g:FocusPanel>
Result: 404 image not found
You have to put this image in a publicly accessible folder on your web server. It cannot be inside the /src folder.