package praktikum1; //import java.applet.*; import java.awt.*; import java.awt.event.*; import javax.swing.JApplet; import javax.swing.Timer; public class Tiivik extends JApplet implements ActionListener{ private static final long serialVersionUID = 6994873599995134850L; int algnurk=30; int nurgasamm=8; int n=3; Timer t=new Timer(50, this); public Tiivik(){ t.start(); } public void paint(Graphics g){ super.paint(g); double kaar=360.0/(2*n); for(int i=0; i