import java.awt.*; import java.awt.event.*; import java.applet.Applet; public class proov extends Applet implements ActionListener{ int nr=7; TextField tf=new TextField(""+nr); int nr1=40; TextField tf1=new TextField(""+nr1); Button nupp=new Button(" OK "); public proov(){ add(tf); add(tf1); add(nupp); nupp.addActionListener(this); } public void paint(Graphics g){ g.setColor(Color.black); g.drawLine(120, 60, 350, 60); g.drawLine(120, nr1+60, 350, nr1+60); g.drawLine(120, 60, 120, nr1+60); g.drawOval(345, (60+nr1/2)-nr1*9/8, nr1*9/4, nr1*9/4); int i=64; for(int a=0; a<4; a++) { g.drawLine(125, i, 375, i); i=i+((nr1-8)/3); } int l=124; for(int a=0; a