The Run method is used to load the images.
A form is used to report the progress of loading images
and when the loading is complete they are displayed.
Any errors that occur are reported using an Alert.
Images previously loaded into the PhotoFrame are discarded
before loading.
Load images from resource files using Image.createImage .
Images may be in resource files or accessed using http:
The first image is loaded to determine whether it is a
single image or a sequence of images and to make sure it exists.
If the name given is the complete name of the image then
it is a singleton.
Otherwise it is assumed to be a sequence of images
with the name as a prefix. Sequence numbers (n) are
0, 1, 2, 3, .... The full resource name is the concatenation
of name + n + ".png".
If an OutOfMemoryError occurs the sequence of images is truncated
and an alert is used to inform the user. The images loaded are
displayed.
See Also: createImage |