import java.awt.*; import java.applet.Applet; public class Loim2 extends Applet implements Runnable{ Pall2[] pallid; Image pilt; public Loim2(){ pallid=new Pall2[5]; for(int i=0; iparem)dx=-Math.abs(dx); if(y>all)dy=-Math.abs(dy); if(x