import java.awt.*;
import java.applet.*;


public class SecondaApplet extends Applet {
	int x = 0;
	int y = 0;
	int width;
	int height;
	int startAngle;
	int arcAngle;
	
	public void init() {
		System.out.println("init()");
	}

	public void start() {
		System.out.println("start()");
	}

	public void paint(Graphics g) {
		System.out.print("paint()");
		width += 4;
		height += 4;
		startAngle += 10;
		arcAngle += 2;
		g.fillArc(x, y, width, height, startAngle, arcAngle);
	}
	
	public void destroy() {
		System.out.println("destroy()");
	}

	public void stop() {
		System.out.println("stop()");
	}

	
}


Questa la bacheca di Informatica Grafica, corso di laurea specialistica in Ing. Edile-architettura
by FdA
ultima modifica: 02/02/2005 11.30