/*
 * IReportChartWizardDialog.java
 *
 * Created on 15 de Maio de 2004, 18:48
 */

package it.businesslogic.ireport.chart.gui;

/**
 *
 * @author  Egon
 */
public class IReportChartWizardDialog extends javax.swing.JDialog {
    
    /** Creates new form IReportChartWizardDialog */
    public IReportChartWizardDialog(java.awt.Frame parent, boolean modal) {
        super(parent, modal);
        initComponents();
    }
    
    /** 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
        java.awt.GridBagConstraints gridBagConstraints;

        jTabbedPane1 = new javax.swing.JTabbedPane();
        jPanelChartType = new javax.swing.JPanel();
        jPanel1 = new javax.swing.JPanel();
        jScrollPaneChartTypeSelection = new javax.swing.JScrollPane();
        jPanel2 = new javax.swing.JPanel();
        jScrollBar1 = new javax.swing.JScrollBar();
        jPanel3 = new javax.swing.JPanel();
        jComboBox1 = new javax.swing.JComboBox();
        jButton1 = new javax.swing.JButton();
        jButton2 = new javax.swing.JButton();
        jPanelTitles = new javax.swing.JPanel();
        jPanelFonts = new javax.swing.JPanel();
        jPanelGrid = new javax.swing.JPanel();
        jPanelDatasource = new javax.swing.JPanel();
        jPanelPreview = new javax.swing.JPanel();
        jPanelXmlCode = new javax.swing.JPanel();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        jPanelChartType.setLayout(new java.awt.GridBagLayout());

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

        jPanel1.setBorder(new javax.swing.border.TitledBorder("Chart Type Selection"));
        jPanel1.setPreferredSize(new java.awt.Dimension(380, 100));
        jPanel1.add(jScrollPaneChartTypeSelection, java.awt.BorderLayout.CENTER);

        jPanelChartType.add(jPanel1, new java.awt.GridBagConstraints());

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

        jPanel2.setBorder(new javax.swing.border.TitledBorder("Description"));
        jPanel2.setPreferredSize(new java.awt.Dimension(10, 50));
        jPanel2.add(jScrollBar1, java.awt.BorderLayout.CENTER);

        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 1;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        jPanelChartType.add(jPanel2, gridBagConstraints);

        jPanel3.setBorder(new javax.swing.border.TitledBorder("Chart Selection"));
        jPanel3.setPreferredSize(new java.awt.Dimension(20, 80));
        jComboBox1.setPreferredSize(new java.awt.Dimension(200, 25));
        jPanel3.add(jComboBox1);

        jButton1.setText("jButton1");
        jPanel3.add(jButton1);

        jButton2.setText("jButton2");
        jPanel3.add(jButton2);

        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        jPanelChartType.add(jPanel3, gridBagConstraints);

        jTabbedPane1.addTab("Chart Type", jPanelChartType);

        jTabbedPane1.addTab("Title / Legend", jPanelTitles);

        jTabbedPane1.addTab("Font / Color", jPanelFonts);

        jTabbedPane1.addTab("Grid", jPanelGrid);

        jTabbedPane1.addTab("Datasource", jPanelDatasource);

        jTabbedPane1.addTab("Preview", jPanelPreview);

        jTabbedPane1.addTab("XML Code", jPanelXmlCode);

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

        pack();
    }//GEN-END:initComponents
    
    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        new IReportChartWizardDialog(new javax.swing.JFrame(), true).show();
    }
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JComboBox jComboBox1;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanelChartType;
    private javax.swing.JPanel jPanelDatasource;
    private javax.swing.JPanel jPanelFonts;
    private javax.swing.JPanel jPanelGrid;
    private javax.swing.JPanel jPanelPreview;
    private javax.swing.JPanel jPanelTitles;
    private javax.swing.JPanel jPanelXmlCode;
    private javax.swing.JScrollBar jScrollBar1;
    public javax.swing.JScrollPane jScrollPaneChartTypeSelection;
    private javax.swing.JTabbedPane jTabbedPane1;
    // End of variables declaration//GEN-END:variables
    
}
