import java.applet.*; import java.awt.*; public class bildkleinmitte extends Applet { public void paint( Graphics g ) { Image bild; int x, y; x = getWidth(); y = getHeight(); bild = getImage( getDocumentBase(), "3.gif" ); <---- wie gesagt das Bild muss selber angegeben werden ( gif jpg is zulässig ) g.drawImage( bild, (x/2)-(bild.getWidth(this)/2), (y/2)-(bild.getHeight(this)/2), this ); } }