/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * lab1.java
 *
 * Created on Mar 11, 2013, 7:13:07 PM
 */
package lab1.resources;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.DefaultListModel;
import javax.swing.JList;
import javax.swing.JOptionPane;

/**
 *
 * @author Ilie
 */
public class lab1 extends javax.swing.JFrame {

    /** Creates new form lab1 */
    public lab1() {
        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.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jMenuBar1 = new javax.swing.JMenuBar();
        jMenu1 = new javax.swing.JMenu();
        jMenu2 = new javax.swing.JMenu();
        jScrollPane1 = new javax.swing.JScrollPane();
        jTable1 = new javax.swing.JTable();
        jButton1 = new javax.swing.JButton();
        jTextField1 = new javax.swing.JTextField();
        jScrollPane2 = new javax.swing.JScrollPane();
        jList1 = new javax.swing.JList();
        jTextField2 = new javax.swing.JTextField();
        jTextField3 = new javax.swing.JTextField();
        jTextField4 = new javax.swing.JTextField();
        jTextField5 = new javax.swing.JTextField();
        jTextField6 = new javax.swing.JTextField();
        jTextField7 = new javax.swing.JTextField();
        jTextField8 = new javax.swing.JTextField();
        jMenuBar2 = new javax.swing.JMenuBar();
        jMenu3 = new javax.swing.JMenu();
        jMenuItem1 = new javax.swing.JMenuItem();
        jMenuItem2 = new javax.swing.JMenuItem();
        jMenuItem3 = new javax.swing.JMenuItem();
        jMenu4 = new javax.swing.JMenu();
        jMenu6 = new javax.swing.JMenu();
        jMenuItem4 = new javax.swing.JMenuItem();
        jMenu7 = new javax.swing.JMenu();
        jMenuItem5 = new javax.swing.JMenuItem();
        jMenu5 = new javax.swing.JMenu();

        jMenu1.setText("File");
        jMenuBar1.add(jMenu1);

        jMenu2.setText("Edit");
        jMenuBar1.add(jMenu2);

        jTable1.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane1.setViewportView(jTable1);

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("lab1");

        jButton1.setText("Citeste");
        jButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton1ActionPerformed(evt);
            }
        });

        jTextField1.setText("textBox");
        jTextField1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTextField1ActionPerformed(evt);
            }
        });

        jList1.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Item 1", "Item 2", "Item 3", "Item 4", "Item 5" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jList1.setName("lista"); // NOI18N
        jScrollPane2.setViewportView(jList1);

        jTextField2.setText("textBox");
        jTextField2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTextField2ActionPerformed(evt);
            }
        });

        jTextField3.setText("textBox");
        jTextField3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTextField3ActionPerformed(evt);
            }
        });

        jTextField4.setText("textBox");
        jTextField4.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTextField4ActionPerformed(evt);
            }
        });

        jTextField5.setText("textBox");
        jTextField5.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTextField5ActionPerformed(evt);
            }
        });

        jTextField6.setText("textBox");
        jTextField6.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTextField6ActionPerformed(evt);
            }
        });

        jTextField7.setText("textBox");
        jTextField7.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTextField7ActionPerformed(evt);
            }
        });

        jTextField8.setText("textBox");
        jTextField8.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTextField8ActionPerformed(evt);
            }
        });

        jMenu3.setText("SetForme");

        jMenuItem1.setText("Încarcă");
        jMenu3.add(jMenuItem1);

        jMenuItem2.setText("Salvează");
        jMenu3.add(jMenuItem2);

        jMenuItem3.setText("Vizualizează spaţiul formelor (doar pentru cazul p=2)");
        jMenu3.add(jMenuItem3);

        jMenuBar2.add(jMenu3);

        jMenu4.setText("Despre");
        jMenuBar2.add(jMenu4);

        jMenu6.setText("Lab 4");
        jMenu6.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenu6ActionPerformed(evt);
            }
        });

        jMenuItem4.setText(" Media | Mediana |Disp | Dev");
        jMenuItem4.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem4ActionPerformed(evt);
            }
        });
        jMenu6.add(jMenuItem4);

        jMenuBar2.add(jMenu6);

        jMenu7.setText("Matricea");
        jMenu7.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenu7ActionPerformed(evt);
            }
        });

        jMenuItem5.setText("Matrice distante");
        jMenuItem5.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem5ActionPerformed(evt);
            }
        });
        jMenu7.add(jMenuItem5);

        jMenuBar2.add(jMenu7);

        jMenu5.setText("Iesire");
        jMenuBar2.add(jMenu5);

        setJMenuBar(jMenuBar2);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jTextField8, javax.swing.GroupLayout.DEFAULT_SIZE, 333, Short.MAX_VALUE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(jButton1)
                            .addComponent(jTextField2, javax.swing.GroupLayout.DEFAULT_SIZE, 329, Short.MAX_VALUE)
                            .addComponent(jTextField1)
                            .addComponent(jTextField4, javax.swing.GroupLayout.DEFAULT_SIZE, 329, Short.MAX_VALUE)
                            .addComponent(jTextField3))
                        .addGap(8, 8, 8))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jTextField7, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 329, Short.MAX_VALUE)
                            .addComponent(jTextField5, javax.swing.GroupLayout.DEFAULT_SIZE, 329, Short.MAX_VALUE)
                            .addComponent(jTextField6, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 329, Short.MAX_VALUE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)))
                .addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 105, Short.MAX_VALUE)
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jScrollPane2, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 248, Short.MAX_VALUE)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jTextField4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jTextField6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jTextField5, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(4, 4, 4)
                        .addComponent(jTextField8, javax.swing.GroupLayout.PREFERRED_SIZE, 27, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jTextField7, javax.swing.GroupLayout.DEFAULT_SIZE, 25, Short.MAX_VALUE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jButton1)))
                .addContainerGap())
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents
public static JList list; 
public static DefaultListModel listModel;
public static Double []vect;
List<Double> dlist ;
List<Double> dlist1 ;
public static Double []vect1;
Double []carac1;

public double Media(Double[] values) 
 { 
int n = values.length; 
double mean = 0; 
for (int i = 0; i < n; i++) 
 mean += values[i]; 
 mean /= n; 
return mean; 
 }

public static double Mediana(Double[] values) 
 { 
int n = values.length; 
Arrays.sort(values);
if (n % 2 == 1) 
    return values[n / 2]; 
else
    return 0.5 * (values[n / 2 - 1] + values[n / 2]); 
 }

public  SetOfPatterns citeste(String fileName, java.util.ArrayList<String> classLabels) throws IOException
{
SetOfPatterns set = new SetOfPatterns();
BufferedReader rd=new BufferedReader(new FileReader(fileName));
try
{
// read n, m, p 
String[] items = rd.readLine().trim().split("[,]", -1);
int n = Integer.parseInt(items[0]);
int p = Integer.parseInt(items[1]);
int m = Integer.parseInt(items[2]);
// read m labels for the m classes 
String[] labels = rd.readLine().split("[,]", -1);
 classLabels= new java.util.ArrayList<String>();
for (int i = 0; i < labels.length; i++)
{
 classLabels.add(labels[i]);
}
// read n patterns
listModel = new DefaultListModel();
list = new JList(listModel);

 
for (int i = 0; i < n; i++)
{
 items = rd.readLine().split("[,]", -1);
Pattern pattern = new Pattern(p);

for (int j = 0; j < p; j++)
{
 pattern.setItem(j, Double.parseDouble(items[j]));
listModel.addElement(Double.parseDouble(items[j]));
 jList1.setModel(listModel);

        }
 pattern.setClassIndex(Integer.parseInt(items[p]));

 set.Add(pattern);
}


}
finally
{ 
if (rd != null)
{
rd.close();
}
}
return set;
}


private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
// TODO add your handling code here:
 // String[] valori = (String[]) listModel.toArray();

    java.util.ArrayList<String> classLabels = new  java.util.ArrayList<String>(); 
SetOfPatterns set; 
        try {
            set = citeste("data.txt", classLabels);
            PatternsIO.WriteToFile(set, classLabels, "datacopy.txt");
       
       
    }
catch (IOException ex) {
           Logger.getLogger(lab1.class.getName()).log(Level.SEVERE, null, ex);
       }
 
 
}//GEN-LAST:event_jButton1ActionPerformed

private void jTextField1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextField1ActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_jTextField1ActionPerformed

private void jTextField2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextField2ActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_jTextField2ActionPerformed

public void citeste_lab4()
{
    BufferedReader br = null;
   dlist =  new ArrayList<Double>();
dlist1 =  new ArrayList<Double>();
   
        try {
            br = new BufferedReader(new FileReader("data1.txt"));
        } catch (FileNotFoundException ex) {
            Logger.getLogger(lab1.class.getName()).log(Level.SEVERE, null, ex);
        }
        ArrayList lines = new ArrayList();
        try {
           String linia1=br.readLine();
            for(String line = br.readLine();line != null;line = br.readLine()) {
                String[] fields = line.split(",");
                dlist.add(Double.parseDouble(fields[0]));
                dlist1.add(Double.parseDouble(fields[1]));
                System.out.println("vector1 "+fields[0]);  
                System.out.println("vector2 "+fields[1]);
                lines.add(fields);
            
              
                         }
        } catch (IOException ex) {
            Logger.getLogger(lab1.class.getName()).log(Level.SEVERE, null, ex);
        }
        String[][] strings = (String[][]) lines.toArray(new String[lines.size()][]);
        System.out.println("strings are "+strings[0][0]);
        System.out.println("Lines="+strings.length);
        vect=new Double[dlist.size()];
 vect1=new Double[dlist.size()];
 carac1=new Double[10];
 for (int i = 0; i < dlist.size(); i++) {
       vect[i]=dlist.get(i).doubleValue(); 
      //  JOptionPane.showMessageDialog(null,"S-a citit vector 1:  "+vect[i]+" ..."+c,"Citeste din fisier",JOptionPane.INFORMATION_MESSAGE);
   vect1[i]=dlist1.get(i).doubleValue();
    //JOptionPane.showMessageDialog(null,"S-a citit! vector 2 : "+vect1[i],"Citeste din fisier",JOptionPane.INFORMATION_MESSAGE);
   }
    for (int i = 0; i < dlist.size(); i++) {
 //  JOptionPane.showMessageDialog(null,"S-a citit vector 1:  "+vect[i]+" ..."+c,"Citeste din fisier",JOptionPane.INFORMATION_MESSAGE);
 
   }
 
}
public double Dispersia(Double[] values) 
 { 
int n = values.length; 
double m = Media(values); 
double dispersion = 0; 
for (int i = 0; i < n; i++) 
 dispersion += (values[i] - m) * (values[i] - m); 
 dispersion /= n - 1; 
return dispersion; 
 } 


public double dev_standard(Double[] values) 
 { 
return Math.sqrt(Dispersia(values)); 
 }

public static double DistEucl(int x, int y)
{
if (vect.length != vect1.length)
    JOptionPane.showMessageDialog(null,"Nr de caracteristici diferit","Eroare",JOptionPane.INFORMATION_MESSAGE);
    double d = 0;
for (int i = 0; i < 2; i++)
    {
    d += (vect[x] - vect1[y]) * (vect[x] - vect1[y]);
//JOptionPane.showMessageDialog(null,"dist"+Double.toString(d),"Matrice",JOptionPane.INFORMATION_MESSAGE);
}
   return Math.sqrt(d);
}

private void jMenuItem4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem4ActionPerformed
// TODO add your handling code here:
    
      double media=0.1;
   double media1=0.1;
     citeste_lab4();
  media=Media(vect);
  media1=Media(vect1);
   
    jTextField1.setText("Media caracteristica 1:"+media);
    jTextField2.setText("Media caracteristica 2:"+media1);
        double mediana=0.1;
   double mediana1=0.1;

  mediana=Mediana(vect);
  mediana1=Mediana(vect1);
   
    jTextField3.setText("Mediana car 1:"+mediana);
    jTextField4.setText("Mediana car 2:"+mediana1);
    
         double dis=0.1;
   double dis1=0.1;
   
  dis=Dispersia(vect);
  dis1=Dispersia(vect1);
   
    jTextField5.setText("Dispersia car 1:"+dis);
    jTextField6.setText("Dispersia car 2:"+dis1);
      double st_dis=0.1;
   double st_dis1=0.1;
 
  st_dis=dev_standard(vect);
  st_dis1=dev_standard(vect1);
   
    jTextField7.setText("Dev. St. car 1:"+st_dis);
    jTextField8.setText("Dev. St. car 2:"+st_dis1);
    
   
}//GEN-LAST:event_jMenuItem4ActionPerformed

private void jMenu6ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenu6ActionPerformed
// TODO add your handling code here:

}//GEN-LAST:event_jMenu6ActionPerformed

private void jTextField3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextField3ActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_jTextField3ActionPerformed

private void jTextField4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextField4ActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_jTextField4ActionPerformed

private void jTextField5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextField5ActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_jTextField5ActionPerformed

private void jTextField6ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextField6ActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_jTextField6ActionPerformed

private void jTextField7ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextField7ActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_jTextField7ActionPerformed

private void jTextField8ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextField8ActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_jTextField8ActionPerformed

private void jMenu7ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenu7ActionPerformed
 
   
}//GEN-LAST:event_jMenu7ActionPerformed


private void jMenuItem5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem5ActionPerformed
 
    double dist,d;
citeste_lab4();
double [][]matr=new double[vect.length][vect1.length];
  // dist=DistEucl(vect,vect1);
 //   d=(double)Math.round(dist * 100) / 100;    
//JOptionPane.showMessageDialog(null,Double.toString(d),"Matrice",JOptionPane.INFORMATION_MESSAGE);
//GEN-LAST:event_jMenuItem5ActionPerformed

    for(int j=0;j<vect.length;j++)
       {d=0;System.out.println();
   for (int k = 0; k < 10; k++)
    {
        d=Math.pow(vect[j] - vect1[j],2.0)+Math.pow(vect[k] - vect1[k],2.0);

matr[j][k]=(double)Math.round(Math.sqrt(d) * 100) / 100; System.out.print(matr[j][k]+" ");
 }  
     
       
       
}

}

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(lab1.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(lab1.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(lab1.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(lab1.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new lab1().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButton1;
    private javax.swing.JList jList1;
    private javax.swing.JMenu jMenu1;
    private javax.swing.JMenu jMenu2;
    private javax.swing.JMenu jMenu3;
    private javax.swing.JMenu jMenu4;
    private javax.swing.JMenu jMenu5;
    private javax.swing.JMenu jMenu6;
    private javax.swing.JMenu jMenu7;
    private javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JMenuBar jMenuBar2;
    private javax.swing.JMenuItem jMenuItem1;
    private javax.swing.JMenuItem jMenuItem2;
    private javax.swing.JMenuItem jMenuItem3;
    private javax.swing.JMenuItem jMenuItem4;
    private javax.swing.JMenuItem jMenuItem5;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JTable jTable1;
    private javax.swing.JTextField jTextField1;
    private javax.swing.JTextField jTextField2;
    private javax.swing.JTextField jTextField3;
    private javax.swing.JTextField jTextField4;
    private javax.swing.JTextField jTextField5;
    private javax.swing.JTextField jTextField6;
    private javax.swing.JTextField jTextField7;
    private javax.swing.JTextField jTextField8;
    // End of variables declaration//GEN-END:variables

}
