import java.awt.*;
import java.applet.*;
// plus any more imports
public class Skeleton extends Applet
{
// possibly some data/object references declared here
// could start some "Fred" objects & "Time" objects here
public void init() // What does void mean?
{
// Stuff that is done once only
} // end of init method
public void paint(Graphics g)
{
// This method is called every time the applet is resized
// Include things you want to appear in the applet
// for example g.drawString("Welcome to Java!!", 50, 60 );
} // end of paint method
// add other classes here
// eg class Time
// {
// all the Time stuff
// } // end class Time
// eg class Fred
// {
// all the Fred stuff (data & methods)
// } // end class Fred
} // end skeleton
|