import java.awt.*; import java.applet.*; import java.awt.event.*; public class kodarad extends Applet implements ActionListener{ TextField tf3=new TextField(10); public kodarad(){ Panel p=new Panel(new GridLayout(1, 1)); p.add(new Label("Kodarad:")); p.add(tf3); tf3.addActionListener(this); add(p); } public void actionPerformed(ActionEvent e){ repaint(); } public void paint(Graphics ekraan){ int kogus=Integer.parseInt(tf3.getText()); int keskx=150; int kesky=100; int r=50; double nurgavahe=6.28/kogus; for(int i=0; i