/** * This method is called if the applet is run as an standalone program. It creates a frame for the * applet and adds the applet to that frame. */ public static void main(String args[]) { Evaluator a = new Evaluator(); a.init(); a.start(); Frame f = new Frame("Evaluator"); f.add("Center", a); f.setSize(400, 200); f.addWindowListener( new WindowAdapter() { public void windowClosing(WindowEvent e) { System.exit(0); } }); // f.show(); f.setVisible(true); }