alright sebj, ?
I have it in the following folder :
c:/development/websphere_workspace/Game/images/anim1.gif
my code is :
public class MagnifyImage extends Applet {
Image theImage;
int scalefactor;
int scaleWidth, scaleHeight;
public void init() {
String filename="c:/development/websphere_workspace/Game/images/anim1.gif";
theImage = getImage(getDocumentBase(), filename);
scalefactor = Integer.valueOf("2"

.intValue();
}
public void paint (Graphics g) {
int x = theImage.getWidth(this);
int y = theImage.getHeight(this);
scaleWidth = x * scalefactor;
scaleHeight = y * scalefactor;
g.drawImage(theImage, 0, 0, scaleWidth, scaleHeight, this);
}
}
doesn't seem to work, I've also tried just :
string filename = "anim1.gif";
and some others ?
am I missing something important ?