import java.applet.Applet; import java.awt.Color; import java.awt.Graphics; public class cesar extends Applet { /** * Initializes the applet. You never need to call this directly; it is * called automatically by the system once the applet is created. */ public void paint(Graphics g) { Color micolor; micolor=new Color(212,143,200); g.setColor(micolor); g.fillRect(100,200,100,200); g.drawArc(99,123,150,158,139,246); g.drawString ("Cesar javier guijarro rodriguez",100,59); g.setColor(Color.blue); g.fillArc(119,133,160,168,149,247); g.drawString("prrrrrrh....",90,90); g.drawString("goya,goya,cachun,cachun,ra,ra,goya,universidad",150,100); g.setColor(Color.blue); g.drawString("prrrrrh.....",200,200); } /** * Called to start the applet. You never need to call this directly; it * is called when the applet's document is visited. */ public void start() { } /** * Called to stop the applet. This is called when the applet's document is * no longer on the screen. It is guarenteed to be called before destroy() * is called. You never need to call this method directly */ public void stop() { } /** * Cleans up whatever resources are being held. If the applet is active * it is stopped. */ public void destroy() { } }