import java.applet.Applet; import java.awt.Graphics; import java.awt.Color; import java.awt.Font; public class JABR extends Applet { Font f = new Font ("TimesRoman",Font.ITALIC,60); public void paint (Graphics g) { int r = 0; int v = 0; int a = 0; for(r = 0; r<255;r=r+4) for(v = 0; v<255;v=v+4) for(a = 0; a<255;a=a+4) {g.setColor(new Color(r,v,a)); g.setFont(f); g.drawString(" Futbol! ",20,100); for(int i=0; i<10000; i=i+1) {} g.setColor(Color.white); g.fillOval(300,56,60,60); g.setColor(Color.black); g.fillOval (350,56,60,60); g.setColor(Color.white); g.fillOval (400,56,60,60); g.setColor(Color.blue); g.fillRect(30,110,170,5); Font h = new Font("TimesRoman",Font.ITALIC,16); } } /** * Initializes the applet. You never need to call this directly; it is * called automatically by the system once the applet is created. */ 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() { } }