/*
   Chapter 2:  Prog4(MyApplet)
   Programmer: Brad Shedd
   Date:       April 12, 2006
   Filename:   MyApplet.java
   Purpose:    This project displays my name and address on the
               screen in a applet.
*/

import java.awt.*;
import java.applet.*;

public class MyApplet extends Applet
{
  
public void paint(Graphics g)
   {
      g.drawString(
"Brad Shedd",100,70);
      g.drawString(
"1234 Sunny Valley Rd.",100,100);
      g.drawString(
"Rome, Ga 30161",100,130);
   }
// end of main method
} // end of MyApplet class

Homepage