This applet reads in a year and test to see if it is a leap year

ALT= "Applet could not be loaded" Sorry, it is time to upgrade your browser to a Java powered one.


SOURCE CODE

 import java.awt.*;

public class button extends java.applet.Applet
{
 public void init()
     {
     add(new Button("Order"));
     TextArea CommentArea = new TextArea(5,25);
     CommentArea.appendText("Cup of Tea, Not Java");
     add(CommentArea);
     }
}