/*
 * KEMain.java
 *
 * Created on 17. Oktober 2002, 14:09
 */

import java.awt.*;
import java.io.*;
import java.lang.*;
import java.applet.*;


/**
 *
 * @author  milde
 * @version
 */
public class KEMain extends java.awt.Frame {

    /** Creates new form KEMain */
    public KEMain() {
        initComponents ();
        pack ();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the FormEditor.
     */
    private void initComponents () {//GEN-BEGIN:initComponents
        setTitle ("Kommentar Editor");
        addWindowListener (new java.awt.event.WindowAdapter () {
            public void windowClosing (java.awt.event.WindowEvent evt) {
                exitForm (evt);
            }
        }
        );

    }//GEN-END:initComponents

    /** Exit the Application */
    private void exitForm(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_exitForm
        System.exit (0);
    }//GEN-LAST:event_exitForm


    static public void main (String argv[]) {
        KEMain frame = new KEMain();
        final Applet applet = new KommentarEditor();
        System.runFinalizersOnExit(true);
    
        frame.add ("Center", applet);
        applet.setStub (new MyAppletStub (argv, applet));
        frame.show();
        applet.init();
        applet.start();
        frame.pack();
    }



    // Variables declaration - do not modify//GEN-BEGIN:variables
    // End of variables declaration//GEN-END:variables

}