import java.applet.Applet; import java.awt.Color; import java.awt.Graphics; import java.awt.Font; 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(200,00,200); g.setColor(micolor); g.fillRect(100,200,100,200); g.drawArc(99,123,150,158,139,246); Font f= new Font("Helvetica",Font.PLAIN,60); g.setFont(f); g.drawString ("Cesar javier guijarro rodriguez",100,59); g.setColor(Color.blue); g.fillArc(119,133,160,168,149,247); g.setColor(micolor); g.drawString("prrrrrrh....",90,90); } /** * 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() { } }