posted 21 years ago
Ok, this may sound stupid but how do you create an Image. The Image constructor doesn't seem to have any type of request for an external data input. The only way I've ever used an image was doing this:
Image testImage = new IconImage("[file_name]");
but I'm not sure if that is the way you're suppose to do it. I just don't see what Image is good for? And furthermore, I don't even think IconImage extends Image, so how come this works? Can somebody help me out a little?
Scratch that I never used Image before, it was always a straight up ImageIcon. So how do you use Image then?
[ May 26, 2003: Message edited by: Wilson Mui ]