import java.awt.*; public class Ruut2 extends Panel{ public void paint(Graphics g){ int serv=10; int vahe=5; g.drawRect(serv, serv, getWidth()-2*serv, getHeight()-2*serv); for(int x=serv+vahe; x