> Hi,
> I am working on a TV application which is based on jdk 1.1.
Why would you use such an out of date version of the compiler?
> here I draw an Image using:
> Image myImage = this.getToolkit().getImage(imagePath);
> (...and graphics.drawImage(myImage) in the paint() method)
Since you are going to want to load the image again, use createImage()
instead of getImage(). See the docs.
> The problem comes when I get an Event telling me that the image is
> updated. From the event, I can get the source of the updated File (in
[quoted text clipped - 3 lines]
>
> When I try to cast the File to an Image, I get a ClassCastException
That's because a File is not an Image.
> If I try to re-instanciate the image after I get the update event (by
> calling this.getToolkit().getImage(imagePath) again), I get an error
[quoted text clipped - 15 lines]
>
> Regards, Per Magnus
Get a URL instead of the File and load it with createImage() again.

Signature
Knute Johnson
email s/nospam/knute/