import java.applet.*; import java.awt.*; import java.awt.event.*; public class Anime extends Applet implements ActionListener { Image pilt1=Toolkit.getDefaultToolkit().getImage("busf.gif"); Image pilt2=Toolkit.getDefaultToolkit().getImage("busc.gif"); Image pilt3=Toolkit.getDefaultToolkit().getImage("busb.gif"); Image pilt4=Toolkit.getDefaultToolkit().getImage("dummy.gif"); //Image pilt5=Toolkit.getDefaultToolkit().getImage("white.gif"); TextField tf=new TextField(); int mitu; public Anime(){ add (tf); tf.addActionListener(this); } public void actionPerformed(ActionEvent e){ mitu=Integer.parseInt(tf.getText()); Graphics g=Anime.this.getGraphics(); g.drawImage(pilt1, 200, 400, this); g.drawImage(pilt3, 380, 400, this); for(int arv=0; arv