What version of gwt and gwt-incubator are you using?
1.7.
What OS and browser are you using?
Windows XP
Do you see this error in hosted mode, web mode, or both?
both
public void onModuleLoad() {
// Make a new canvas 400x400 pixels
final GWTCanvas canvas = new GWTCanvas(400,400);
String[] urls = new String[] {"image.png"};
ImageLoader.loadImages(urls, new ImageLoader.CallBack() {
public void onImagesLoaded(ImageElement[] imageElements) {
ImageElement img = imageElements[0];
canvas.drawImage(img, 0, 0);
}
});
RootPanel.get().add(canvas);
}
What is the expected output? What do you see instead?
onImagesLoaded() never executes.
No show the image.
Workaround if you have one:
Please provide any additional information below, and thank you for taking
the time and effort to report this issue, as good issue reports are
critical for our quest to make GWT's new widgets and libraries shine.
Original issue reported on code.google.com by namberw...@gmail.com on 24 Sep 2009 at 7:04
Original issue reported on code.google.com by
namberw...@gmail.com
on 24 Sep 2009 at 7:04