/**
 Sample HelloWorld applet

*/
import java.awt.Graphics;

import java.applet.Applet;

  // javadoc comments should immediately precede the declaration of the class
  // field or method they are associated with

  /* here I would put the description of the class (what is it for, what
    is it's purpose) */

  /** The purpose of this class is to demo the use of javadoc */

public class HelloWorld extends Applet {

     // here I would put the pre and post conditions for the method paint 

     /** PRE: User has a browser that is compatible with the Java version<br>
       * POST: String will be displayed on the browser.  No other changes<br> 
       *       to the users system (i.e., all else is invariant) */
 
  public void paint (Graphics g){  

    g.drawString("Now I know how to do this!", 25, 25); }

}

