import java.applet.Applet; import java.awt.Graphics; import java.awt.Color; import java.awt.Font; public class applet extends Applet {Font f = new Font ("TimesRoman", Font.BOLD, 35); /** * 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) { int r = 0; int v = 0; int a = 0; for (r=0;r<255;r=r+1) for (v=0;v<255;v=v+1) for (a=0;a<255;a=a+1) {g.setColor (new Color (r,v,a)); g.setFont (f);g.fillRect(r+a-v,a-v+r,200+r+a+v,10+a+r+v); g.drawString ("Hey hey hey Mr. superstar", 35, 35); for (int i=0;i<10;i++){} } } /** * 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() { } }