import java.applet.*; import java.applet.Applet; import java.awt.*; import java.io.File; import java.io.*; public class telku extends Applet{ File kataloog=new File("."); // . on jooksev kataloog String failid[]=kataloog.list(); Image pilt; int x=50; int y=50; int i=0; public void paint(Graphics g){ g.setColor(Color.black); g.fillRect(0,0,400,400); g.setColor(Color.white); g.fillRect(x-5,y-5,310,310); for(i=0; i