Open GoogleCodeExporter opened 9 years ago
At the time when you load the image, its data won't we loaded yet. You need to
poll the image, and refresh the label once it is received.
if ( imu.isAnimation() && imu.getImageData() == null ){
// set timer to poll.....
}
// And inside the timer's run
if ( imu.animate() ){
// repaint the label, or the form, or anything that uses the image
// and turn off the timer.
}
Note, you'll want your image to be at least an EncodedImage (not an Image) so
that you have access to the getImageData() method.
Original comment by st...@weblite.ca
on 24 Jun 2014 at 2:21
Original issue reported on code.google.com by
fabri...@virttrade.com
on 23 Jun 2014 at 10:06