()
| 38 | public class AWTDemoApplet extends Applet |
| 39 | { |
| 40 | public void init() |
| 41 | { |
| 42 | setLayout(new BorderLayout()); |
| 43 | ConsoleInterface console = new AWTConsole(); |
| 44 | add("Center", (Component)console); |
| 45 | Interpreter interpreter = new Interpreter( console ); |
| 46 | new Thread(interpreter).start(); |
| 47 | } |
| 48 | } |
| 49 |