import java.applet.Applet; import java.awt.Graphics; import java.awt.Color; import java.awt.Font; public class jesus 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) { Font mifont = new Font ("Courier",Font.ITALIC,60); Font mafont = new Font ("Helvetica",Font.ITALIC,40); Color micolor= new Color(100,255,20); Color ticolor= new Color(255,20,170); Color macolor= new Color(100,20,170); Color tucolor= new Color(87,45,255); g.setColor(tucolor); g.fillRect(135,90,410,60); /*g.setColor(Color.red); g.drawLine(110,57,132,99);*/ g.setColor(micolor); g.setFont(mifont); g.drawString("TODOS",89,89); g.setColor(macolor); g.setFont(mafont); g.drawString("HOLA",35,35); g.setColor(ticolor); g.fillOval(160,150,60,75); g.setColor(ticolor); g.fillOval(400,150,60,75); } public void init() { } /** * 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() { } }