samer@0: /* samer@0: * ConsoleApplet.java samer@0: * samer@0: * Copyright (c) 2000, Samer Abdallah, King's College London. samer@0: * All rights reserved. samer@0: * samer@0: * This software is provided AS iS and WITHOUT ANY WARRANTY; samer@0: * without even the implied warranty of MERCHANTABILITY or samer@0: * FITNESS FOR A PARTICULAR PURPOSE. samer@0: */ samer@0: samer@0: package samer.applet; samer@0: import samer.core.*; samer@0: samer@0: public class ConsoleApplet extends JApplet samer@0: { samer@0: public void init() samer@0: { samer@0: super.init(); samer@0: samer@0: // Shell.push(this); // push AppletEnvironment? samer@0: JAppletShell.instance.setConsoleContainer(this); samer@0: // Shell.pop(); samer@0: } samer@0: samer@0: public void destroy() samer@0: { samer@0: JAppletShell.instance.releaseConsoleContainer(this); samer@0: super.destroy(); samer@0: } samer@0: }