import java.awt.*; import java.awt.event.*; import java.applet.Applet; import java.awt.image.*; public class Vihm extends Applet implements ActionListener{ Image s=Toolkit.getDefaultToolkit().getImage("pilv3.jpg"); Image ww=Toolkit.getDefaultToolkit().getImage("paike.jpg"); TextField tf1=new TextField("",5); public Vihm(){ add(tf1); tf1.setBackground(Color.lightGray); tf1.addActionListener(this); } public void actionPerformed(ActionEvent e){ int ss=Integer.parseInt(tf1.getText().trim()); for(int s=0;s