/*
 * HelloWorldSwing2.java
 *
 * Created on May 7, 2001, 2:14 PM
 * ForteForJava CE 1
 */

// package pic20a;

/**
 *
 * @author  fedandr
 * @version 
 */
public class HelloWorldSwing2 extends javax.swing.JFrame {

    /** Creates new form HelloWorldSwing2 */
    public HelloWorldSwing2() {
        super("HWS2");
        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
        jLabel1 = new javax.swing.JLabel ();
        addWindowListener (new java.awt.event.WindowAdapter () {
            public void windowClosing (java.awt.event.WindowEvent evt) {
                exitForm (evt);
            }
        }
        );

        jLabel1.setText ("  Hello Again");
        jLabel1.setFont (new java.awt.Font ("Dialog", 1, 12));


        getContentPane ().add (jLabel1, java.awt.BorderLayout.CENTER);

    }//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

    /**
    * @param args the command line arguments
    */
    public static void main (String args[]) {
        new HelloWorldSwing2 ().show ();
    }


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel jLabel1;
    // End of variables declaration//GEN-END:variables

}
