package planner; import javax.swing.*; import planner.gui.*; /** * @author Edward Billard * * This runs PlannerApplet as an application, instead of from an html file * */ public class Planner { public static void main(String args[]) { JApplet applet = new PlannerApplet(); // create the applet JFrame frame = new JFrame("Menu Planner"); // create a frame frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); // frame closes File->Exit frame.getContentPane().add(applet); // add applet to fram frame.setSize(900,600); // make it large enough applet.init(); // similar to constructor applet.start(); // run the applet frame.setVisible(true); // make it visible } }