$PKGLINE import javax.swing.*; /** * Class $CLASSNAME Description. * * @author your name * @version mm/yyyy */ public class $CLASSNAME extends JApplet { // Instance Variables /** * Initialize this applet. */ public void init() { // Execute a job on the event-dispatching thread // creating this applet's GUI. try { javax.swing.SwingUtilities.invokeAndWait(new Runnable() { public void run() { createGUI(); } }); } catch (Exception e) { System.err.println("createGUI didn't successfully complete"); } } /** * Create the graphical user interface. */ private void createGUI() { // Set up the applet graphical user interface } }