/*
 * XMLContentEditor.java
 *
 * Created on 11 de abril de 2003, 20:18
 */

package com.uvigo.mhp.xml;

/**
 *
 * @author  Martin
 */
public class XMLContentEditor extends javax.swing.JFrame
{
    
    /** Creates new form XMLContentEditor */
    public XMLContentEditor()
    {
        initComponents();
        jTabbedPane1.setTitleAt(0,"ActiveImage");
        jTabbedPane1.setTitleAt(1,"Animation");
        jTabbedPane1.setTitleAt(2,"MediaPlayer");
        jTabbedPane1.setTitleAt(3,"Menu");
        jTabbedPane1.setTitleAt(4,"MultiPanel");
        jTabbedPane1.setTitleAt(5,"TextPanel");
        jTabbedPane1.setTitleAt(6,"Widget");
    }
    
    /** 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 Form Editor.
     */
    private void initComponents()//GEN-BEGIN:initComponents
    {
        jTabbedPane1 = new javax.swing.JTabbedPane();
        jPanel1 = new javax.swing.JPanel();
        activeImageContentEditorPanel1 = new com.uvigo.mhp.xml.ActiveImageContentEditorPanel();
        jPanel2 = new javax.swing.JPanel();
        animatedContentEditorPanel1 = new com.uvigo.mhp.xml.AnimatedContentEditorPanel();
        jPanel3 = new javax.swing.JPanel();
        mediaPlayerContentEditorPanel1 = new com.uvigo.mhp.xml.MediaPlayerContentEditorPanel();
        jPanel4 = new javax.swing.JPanel();
        menuContentEditorPanel1 = new com.uvigo.mhp.xml.MenuContentEditorPanel();
        jPanel5 = new javax.swing.JPanel();
        multiPanelContentEditorPanel1 = new com.uvigo.mhp.xml.MultiPanelContentEditorPanel();
        jPanel6 = new javax.swing.JPanel();
        textPanelContentEditorPanel1 = new com.uvigo.mhp.xml.TextPanelContentEditorPanel();
        jPanel7 = new javax.swing.JPanel();
        widgetContentEditorPanel1 = new com.uvigo.mhp.xml.WidgetContentEditorPanel();

        addWindowListener(new java.awt.event.WindowAdapter()
        {
            public void windowClosing(java.awt.event.WindowEvent evt)
            {
                exitForm(evt);
            }
        });

        jPanel1.setLayout(new java.awt.GridLayout());

        jPanel1.add(activeImageContentEditorPanel1);

        jTabbedPane1.addTab("tab1", jPanel1);

        jPanel2.setLayout(new java.awt.GridLayout());

        jPanel2.add(animatedContentEditorPanel1);

        jTabbedPane1.addTab("tab2", jPanel2);

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

        jPanel3.add(mediaPlayerContentEditorPanel1);

        jTabbedPane1.addTab("tab3", jPanel3);

        jPanel4.setLayout(new java.awt.GridLayout());

        jPanel4.add(menuContentEditorPanel1);

        jTabbedPane1.addTab("tab4", jPanel4);

        jPanel5.setLayout(new java.awt.GridLayout());

        jPanel5.add(multiPanelContentEditorPanel1);

        jTabbedPane1.addTab("tab5", jPanel5);

        jPanel6.setLayout(new java.awt.GridLayout());

        jPanel6.add(textPanelContentEditorPanel1);

        jTabbedPane1.addTab("tab6", jPanel6);

        jPanel7.setLayout(new java.awt.GridLayout());

        jPanel7.add(widgetContentEditorPanel1);

        jTabbedPane1.addTab("tab7", jPanel7);

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

        pack();
    }//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 XMLContentEditor().show();
    }
    
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private com.uvigo.mhp.xml.ActiveImageContentEditorPanel activeImageContentEditorPanel1;
    private com.uvigo.mhp.xml.MenuContentEditorPanel menuContentEditorPanel1;
    private javax.swing.JPanel jPanel4;
    private com.uvigo.mhp.xml.TextPanelContentEditorPanel textPanelContentEditorPanel1;
    private com.uvigo.mhp.xml.AnimatedContentEditorPanel animatedContentEditorPanel1;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel5;
    private com.uvigo.mhp.xml.MultiPanelContentEditorPanel multiPanelContentEditorPanel1;
    private javax.swing.JPanel jPanel7;
    private javax.swing.JPanel jPanel1;
    private com.uvigo.mhp.xml.MediaPlayerContentEditorPanel mediaPlayerContentEditorPanel1;
    private javax.swing.JPanel jPanel6;
    private com.uvigo.mhp.xml.WidgetContentEditorPanel widgetContentEditorPanel1;
    private javax.swing.JTabbedPane jTabbedPane1;
    // End of variables declaration//GEN-END:variables
    
}
