graphics.drawImage( image,getWidth( ),getHeight( ), graphics.LEFT| Graphics. TOP);
will draw the image at the bottom right coner of the screen ,thats why its going off the screen.
try this : graphics.drawImage( image,20,20, graphics.LEFT| Graphics. TOP); or some other coordinates inside the boundiers of the screen and works for you.