import java.applet.*; import java.awt.*; public class fraz extends Applet{ Image anek[]=new Image[11]; public void init(){ for(int t=1;t<11;t++){ anek[t]=getImage(getDocumentBase(),"f"+t+".gif");} } public void paint(){ Graphics g=this.getGraphics(); do{ for(int t=1;t<11;t++){ for(int k=400;k>-800;k--){ g.drawImage(anek[t],k,1,this); try{ Thread.sleep(5); } catch(Exception e){e.printStackTrace();} } } }while(1==1); } }