1  /* Another Hello World applet */
  2  
  3  import java.applet.Applet;
  4  import java.awt.*;
  5  
  6  public class HelloAgainApplet extends Applet {
  7  
  8    Font f = new Font( "TimesRoman", Font.BOLD, 36 );
  9  
 10    public void paint( Graphics g ) {
 11      g.setFont( f );
 12      g.setColor( Color.red );
 13      g.drawString( "Hello again!", 5, 50 );
 14    }
 15    
 16  }