Japplet.getImage(): What if image file does not exist?
Hi, I'm a java n00b. According to the API Japplet.getImage() returns regardless of whether the image exists or not. But in one applet I am hoping to handle an exception for the case in which the image file that is supposed to be there is not there. What would be the proper way to go about this?
I'm guessing MediaTracker is somehow the answer. I've used waitForAll() before, and I'm guessing the solution is in one of the error functions, but I am not sure what this would look like. I would appreciate any clarification, guidance, or examples.