hell,i want to know how to view a picture in a HTML? EXAMPLE:
HTML htmlS = new HTML(picture resource+"[加载中...]");
how to write "picture resource" gwt code?
i'm a new gwt programmer.come from china. thank you!
hell,i want to know how to view a picture in a HTML? EXAMPLE:
HTML htmlS = new HTML(picture resource+"[加载中...]");
how to write "picture resource" gwt code?
i'm a new gwt programmer.come from china. thank you!
Create an object of com.google.gwt.user.client.ui.Image
and make a call to setUrl()
with the URL of the image resource.
image.setUrl(GWT.getModuleBaseURL() + <relative path to image resource>)