gt:             new String [] {
context: /*
   * To change this template, choose Tools | Templates
   * and open the template in the editor.
   */
  
  /*
   * Reaction.java
   *
   * Created on 01-Dec-2010, 23:10:59
   */
  
  
  
  import javax.swing.JRootPane;
  
  /**
   *
   * @author mhh
   */
  public class Reactant1b extends javax.swing.JFrame {
  
      /** Creates new form Reaction */
      private String measuringUnitValue;
      public String rotorTypeSelected = "classical";
      public String rotationalConstantComboValue = "cm-1";
      public String vibrationalFrequecnyComboValue = "cm-1";
      public String reactantValue;
  
      public Reactant1b() {
  
          initComponents();
          //  setDefaultCloseOperation(2);
          setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);
          setResizable(false);
          setLocationRelativeTo(null);
  
         //  set
  
  
      }
  
      /** 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() {
  
          jPanel1 = new javax.swing.JPanel();
          jLabel1 = new javax.swing.JLabel();
          jLabel2 = new javax.swing.JLabel();
          jScrollPane2 = new javax.swing.JScrollPane();
          jPanel2 = new javax.swing.JPanel();
          jLabel3 = new javax.swing.JLabel();
          jLabel4 = new javax.swing.JLabel();
          jLabel5 = new javax.swing.JLabel();
          jLabel6 = new javax.swing.JLabel();
          jSeparator1 = new javax.swing.JSeparator();
          jSeparator2 = new javax.swing.JSeparator();
          jSeparator3 = new javax.swing.JSeparator();
          jSeparator4 = new javax.swing.JSeparator();
          jTextField1 = new javax.swing.JTextField();
          jTextField2 = new javax.swing.JTextField();
          jScrollPane3 = new javax.swing.JScrollPane();
          vibrationFreqTable = new javax.swing.JTable();
          jTextField4 = new javax.swing.JTextField();
          jComboBox2 = new javax.swing.JComboBox();
          jComboBox3 = new javax.swing.JComboBox();
          jSeparator5 = new javax.swing.JSeparator();
          jLabel7 = new javax.swing.JLabel();
          jLabel8 = new javax.swing.JLabel();
          jLabel9 = new javax.swing.JLabel();
          jLabel10 = new javax.swing.JLabel();
          jSeparator6 = new javax.swing.JSeparator();
          jTextField6 = new javax.swing.JTextField();
          jSeparator7 = new javax.swing.JSeparator();
          jSeparator8 = new javax.swing.JSeparator();
          jSeparator9 = new javax.swing.JSeparator();
          jSeparator10 = new javax.swing.JSeparator();
          jSeparator11 = new javax.swing.JSeparator();
          jLabel12 = new javax.swing.JLabel();
          jLabel13 = new javax.swing.JLabel();
          jLabel14 = new javax.swing.JLabel();
          jTextField8 = new javax.swing.JTextField();
          jTextField9 = new javax.swing.JTextField();
          jTextField10 = new javax.swing.JTextField();
          jTextField11 = new javax.swing.JTextField();
          jSeparator12 = new javax.swing.JSeparator();
          jScrollPane1 = new javax.swing.JScrollPane();
          jTextArea1 = new javax.swing.JTextArea();
          jLabel15 = new javax.swing.JLabel();
          jLabel11 = new javax.swing.JLabel();
          jComboBox1 = new javax.swing.JComboBox();
          jLabel16 = new javax.swing.JLabel();
          jButton1 = new javax.swing.JButton();
  
          setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
          setMinimumSize(new java.awt.Dimension(600, 650));
  
          jPanel1.setOpaque(false);
          jPanel1.setPreferredSize(new java.awt.Dimension(593, 670));
          jPanel1.setLayout(null);
  
          jLabel1.setFont(new java.awt.Font("Wide Latin", 0, 18));
          jLabel1.setText("MESMER");
          jPanel1.add(jLabel1);
          jLabel1.setBounds(210, 0, 184, 39);
  
          jLabel2.setFont(new java.awt.Font("Verdana", 0, 18));
          jLabel2.setText("Reactant");
          jPanel1.add(jLabel2);
          jLabel2.setBounds(240, 30, 180, 23);
  
          jScrollPane2.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
          jScrollPane2.setMinimumSize(new java.awt.Dimension(520, 652));
  
          jPanel2.setBackground(new java.awt.Color(255, 255, 255));
          jPanel2.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
          jPanel2.setMinimumSize(new java.awt.Dimension(520, 652));
          jPanel2.setPreferredSize(new java.awt.Dimension(520, 650));
          jPanel2.setLayout(null);
  
          jLabel3.setFont(new java.awt.Font("Tahoma", 0, 14));
          jLabel3.setText("Energy");
          jPanel2.add(jLabel3);
          jLabel3.setBounds(10, 20, 78, 17);
  
          jLabel4.setFont(new java.awt.Font("Tahoma", 0, 14));
          jLabel4.setText("Scaling Factor ");
          jPanel2.add(jLabel4);
          jLabel4.setBounds(10, 220, 180, 17);
  
          jLabel5.setFont(new java.awt.Font("Tahoma", 0, 14));
          jLabel5.setText("Rotational constants ");
          jPanel2.add(jLabel5);
          jLabel5.setBounds(10, 58, 160, 17);
  
          jLabel6.setFont(new java.awt.Font("Tahoma", 0, 14));
          jLabel6.setText("Vibration frequencies ");
          jPanel2.add(jLabel6);
          jLabel6.setBounds(10, 150, 160, 17);
          jPanel2.add(jSeparator1);
          jSeparator1.setBounds(0, 50, 520, 10);
          jPanel2.add(jSeparator2);
          jSeparator2.setBounds(0, 100, 520, 10);
          jPanel2.add(jSeparator3);
          jSeparator3.setBounds(0, 210, 520, 10);
  
          jSeparator4.setOrientation(javax.swing.SwingConstants.VERTICAL);
          jPanel2.add(jSeparator4);
          jSeparator4.setBounds(280, 0, 60, 640);
  
          jTextField1.setFont(new java.awt.Font("Tahoma", 0, 14));
          jTextField1.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
          jPanel2.add(jTextField1);
          jTextField1.setBounds(310, 10, 190, 30);
  
          jTextField2.setFont(new java.awt.Font("Tahoma", 0, 14));
          jTextField2.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
          jPanel2.add(jTextField2);
          jTextField2.setBounds(310, 60, 190, 30);
  
          vibrationFreqTable.setFont(new java.awt.Font("Tahoma", 0, 10)); // NOI18N
          vibrationFreqTable.setModel(new javax.swing.table.DefaultTableModel(
              new Object [][] {
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null},
                  {null}
              },
  