/** invoked when a resource needed to render ourselves finishes loading */
public void perform() throws JSExn {
+
+ // FIXME; we can't assume that just because we were performed the image is loaded.
// as external events have occured, check the state of box
if (texture != null) {
if (texture.isLoaded) { minwidth = texture.width; minheight = texture.height; }
return;
}
if (!(value instanceof Res)) return;
-
texture = Picture.load((Res)value, this);
}