Odpowiedzi

2010-04-16T16:00:29+02:00
Import java.applet.*;
import java.awt.*;

public
class PawieOko extends Applet
{
public void paint (Graphics ekran)
{ekran.drawString("Pawie oko",12,20);
ekran.setColor(Color.blue);
ekran.drawOval(20, 40, 200, 200);

Color color = Color.black;
color = new Color(color.getRed()+18, color.getGreen()+44, color.getBlue()+88);
ekran.setColor(color);
ekran.drawOval(24, 75, 100, 100);
}
}