/*
 * CDDL HEADER START
 *
 * The contents of this file are subject to the terms of the
 * Common Development and Distribution License, Version 1.0 only
 * (the "License").  You may not use this file except in compliance
 * with the License.
 *
 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 * or http://www.opensolaris.org/os/licensing.
 * See the License for the specific language governing permissions
 * and limitations under the License.
 *
 * When distributing Covered Code, include this CDDL HEADER in each
 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
 * If applicable, add the following below this CDDL HEADER, with the
 * fields enclosed by brackets "[]" replaced with your own identifying
 * information: Portions Copyright [yyyy] [name of copyright owner]
 *
 * CDDL HEADER END
 */
/*
 * ident	"%Z%%M%	%I%	%E% SMI"
 *
 * Copyright (c) 2001 by Sun Microsystems, Inc.
 * All rights reserved.
 *
 */

/**
 * This file was originally automatically generated by Java WorkShop.
 *
 * Runtime vendor: SunSoft, Inc.
 * Runtime version: 1.0
 *
 * Visual vendor: SunSoft, Inc.
 * Visual version: 1.0
 */



import sunsoft.jws.visual.rt.base.Group;
import sunsoft.jws.visual.rt.base.MainHelper;
import java.applet.Applet;

/**
 * Generated Main class
 *
 * @version 1.20, 05/21/96
 */
public class KdcGuiMain extends Applet {
    /**
     * Helper class for the generated main class.  This variable is only
     * used when we are running as an applet.
     */
    private MainHelper helper;
    
    /**
     * Called when application is run from the command line.
     */
    public static void main(String args[]) {
        MainHelper helper = new MainHelper();
        helper.checkVersion(1.0);
        
        Group group = new KdcGui();
        helper.main(group, args);
    }
    
    /**
     * Called when the applet is loaded.
     */
    public void init() {
        helper = new MainHelper();
        helper.checkVersion(1.0);
        
        Group group = new KdcGui();
        helper.init(this, group);
    }
    
    /**
     * Called whenever the applet's page is visited.
     */
    public void start() {
        helper.start();
    }
    
    /**
     * Called by the browser when the user leaves the page.
     */
    public void stop() {
        helper.stop();
    }
    
    /**
     * Called by the browser when the applet should be destroyed.
     */
    public void destroy() {
        helper.destroy();
    }
}