import java.awt.*; public class Eksam1 extends Frame implements Runnable{ Pall1[] pallid; public Eksam1(){ pallid=new Pall1[1]; for(int i=0; iparem)dx=-Math.abs(dx); if(y>all)dy=-Math.abs(dy); if(x