import java.awt.*; public class Sneg extends Frame implements Runnable{ Odna[] snezhinki; public Sneg(){ snezhinki=new Odna[25]; for(int i=0; i200){ y=0; dy=3*Math.random(); x=200*Math.random(); } y=y+dy; yield(); try{Thread.sleep(100); }catch(Exception e){} } }}