import java.awt.*; import java.awt.event.*; import java.applet.Applet; public class Graafik3 extends Panel implements ActionListener{ int nr=100; double algnurk=0; TextField tf=new TextField("10"); public Graafik3(){ add(tf); tf.addActionListener(this); } public void actionPerformed(ActionEvent e){ nr=Integer.parseInt(tf.getText().trim()); repaint(); } public void paint(Graphics g){ int arv=Integer.parseInt(tf.getText().trim()); int nurkadearv=arv; int raadius=75; double nurk=algnurk; g.drawOval(70, 70, 150, 140); for(int i=0; i