package cl.jtv;
/*
 * DialogPresentacion.java
 *
 * Created on 15 de agosto de 2001, 02:10 AM
 */


/**
 *
 * @author  Marco Mora Godoy
 * @version 
 */
public class DialogPresentacioAcercaDe extends javax.swing.JDialog {

    /** Creates new form DialogPresentacion */
    public DialogPresentacioAcercaDe(java.awt.Frame parent, boolean modal) {
        super (parent, modal);
        initComponents ();
        this.setSize(372,498);
        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.
     */
    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
    private void initComponents() {
        jPanel1 = new javax.swing.JPanel();
        jPanel2 = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        jPanel3 = new javax.swing.JPanel();
        jLabel2 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("Acerca de JTV...");
        setResizable(false);
        addWindowListener(new java.awt.event.WindowAdapter() {
            public void windowClosing(java.awt.event.WindowEvent evt) {
                closeDialog(evt);
            }
        });

        jPanel1.setLayout(new java.awt.GridLayout(2, 1));

        jPanel1.setBackground(java.awt.Color.white);
        jPanel1.setMaximumSize(new java.awt.Dimension(362, 498));
        jPanel1.setMinimumSize(new java.awt.Dimension(362, 498));
        jPanel1.setPreferredSize(new java.awt.Dimension(362, 498));
        jPanel2.setLayout(new java.awt.BorderLayout());

        jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/PresentacionJTVAcercaDe.jpg")));
        jPanel2.add(jLabel1, java.awt.BorderLayout.CENTER);

        jPanel1.add(jPanel2);

        jPanel3.setLayout(new java.awt.BorderLayout());

        jLabel2.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        jLabel2.setText("<html>  <body>       <div align=\"justify\">   <div align=\"center\"><u><b><h>JTV (Java Turing Visual) Sistema Gr&aacute;fico  de Dise&ntilde;o y Ejecuci&oacute;n de M&aacute;quinas de Turing</h></b>  <b>v2.3 (2007)</b></u><br>   <b><h></h></b></div>   <b><h> </h></b><br>   <div align=\"justify\"><small><h>&nbsp;&nbsp;&nbsp; Aplicaci&oacute;n JAVA correspondiente a la Memoria para Optar al T&iacute;tulo de Ingeniero Civil en Computaci&oacute;n de la Universidad de Chile, dise&ntilde;ada y constru&iacute;da </h></small><small>por <a href=\"mailto:mmora@dcc.uchile.cl\">Marco Antonio  Mora Godoy</a></small> <small>durante el Semestre Primavera del a&ntilde;o 2002</small>, <small>a fin de apoyar las labores docentes del curso <i>\"CC30B Fundamentos de Ciencia de la Computaci&oacute;n\" </i>dictado por el Departamento de Ciencias de la Computaci&oacute;n (DCC).</small><br>  &nbsp;&nbsp; <small>Consultas, aclaraci&oacute;n de dudas, o sugerencias  de cualquier &iacute;ndole, se pueden realizar a la direcci&oacute;n de correo  <a href=\"mailto:mmora@dcc.uchile.cl\">mmora@dcc.uchile.cl</a></small><a  href=\"mailto:mmora@dcc.uchile.cl\"> </a>&nbsp;<small>o visitando la p&aacute;gina  oficial de JTV <a href=\"http://www.dcc.uchile.cl/jtv\">www.dcc.uchile.cl/jtv</a></small>.<br>  </div>  <br>  <b><h><br>   </h> </b></div>       </body> </html> ");
        jLabel2.setVerticalAlignment(javax.swing.SwingConstants.TOP);
        jPanel3.add(jLabel2, java.awt.BorderLayout.CENTER);

        jPanel1.add(jPanel3);

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

        pack();
        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        java.awt.Dimension dialogSize = getSize();
        setLocation((screenSize.width-dialogSize.width)/2,(screenSize.height-dialogSize.height)/2);
    }
    // </editor-fold>//GEN-END:initComponents

    /** Closes the dialog */
    private void closeDialog(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_closeDialog
        setVisible (false);
        dispose ();
    }//GEN-LAST:event_closeDialog

    /**
    * @param args the command line arguments
    */
    public static void main (String args[]) {
       DialogPresentacioAcercaDe dp =  new DialogPresentacioAcercaDe(new javax.swing.JFrame (), true);
       dp.setVisible (true);
    }


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

}
