/*
 * Biomass_n.java
 *
 * Created on January 3, 2006, 1:31 PM
 */

package usda.weru.erosion.gui;

/**
 *
 * @author  wjr
 */
public class Biomass_n extends javax.swing.JFrame {
    private static final long serialVersionUID = 1L;
    
    /** Creates new form Biomass_n */
    public Biomass_n() {
        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.
     */
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        BG_seedPlacement = new javax.swing.ButtonGroup();
        JP_biomass = new javax.swing.JPanel();
        jLabel12 = new javax.swing.JLabel();
        JTF_height = new javax.swing.JTextField();
        jLabel11 = new javax.swing.JLabel();
        JTF_stemAreaIndex = new javax.swing.JTextField();
        jLabel10 = new javax.swing.JLabel();
        JTF_leafAreaIndex = new javax.swing.JTextField();
        jLabel7 = new javax.swing.JLabel();
        JTF_flatCover = new javax.swing.JTextField();
        jLabel45 = new javax.swing.JLabel();
        JTF_cropHgt = new javax.swing.JTextField();
        jLabel46 = new javax.swing.JLabel();
        JTF_cropSAI = new javax.swing.JTextField();
        jLabel47 = new javax.swing.JLabel();
        JTF_cropLAI = new javax.swing.JTextField();
        jLabel9 = new javax.swing.JLabel();
        JTF_rowSpacing = new javax.swing.JTextField();
        jLabel8 = new javax.swing.JLabel();
        JRB_seedRidge = new javax.swing.JRadioButton();
        JRB_seedFurrow = new javax.swing.JRadioButton();
        JP_residuePics = new javax.swing.JButton();
        JB_estimateResidueStemAreaIndex = new javax.swing.JButton();
        JB_estimateCropStemAreaIndex = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        getContentPane().setLayout(null);

        JP_biomass.setLayout(null);

        jLabel12.setText("Residue average height (m)");
        JP_biomass.add(jLabel12);
        jLabel12.setBounds(40, 40, 300, 14);

        JTF_height.setToolTipText("Biomass:residueHeight");
        JTF_height.setName("BiomassHgt"); // NOI18N
        JTF_height.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JTF_heightActionPerformed(evt);
            }
        });
        JTF_height.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                JTF_heightFocusLost(evt);
            }
        });
        JP_biomass.add(JTF_height);
        JTF_height.setBounds(340, 40, 50, 20);

        jLabel11.setText("Residue stem area index (m^2/m^2)");
        JP_biomass.add(jLabel11);
        jLabel11.setBounds(40, 60, 300, 14);

        JTF_stemAreaIndex.setToolTipText("Biomass:residueSAI");
        JTF_stemAreaIndex.setName("BiomassRSAI"); // NOI18N
        JTF_stemAreaIndex.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JTF_stemAreaIndexActionPerformed(evt);
            }
        });
        JTF_stemAreaIndex.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                JTF_stemAreaIndexFocusLost(evt);
            }
        });
        JP_biomass.add(JTF_stemAreaIndex);
        JTF_stemAreaIndex.setBounds(340, 60, 50, 20);

        jLabel10.setText("Residue leaf area index (m^2/m^2)");
        JP_biomass.add(jLabel10);
        jLabel10.setBounds(40, 80, 300, 14);

        JTF_leafAreaIndex.setToolTipText("Biomass:residueLAI");
        JTF_leafAreaIndex.setName("BiomassRLAI"); // NOI18N
        JTF_leafAreaIndex.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JTF_leafAreaIndexActionPerformed(evt);
            }
        });
        JTF_leafAreaIndex.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                JTF_leafAreaIndexFocusLost(evt);
            }
        });
        JP_biomass.add(JTF_leafAreaIndex);
        JTF_leafAreaIndex.setBounds(340, 80, 50, 20);

        jLabel7.setText("Residue flat cover  (m^2/m^2)");
        JP_biomass.add(jLabel7);
        jLabel7.setBounds(40, 100, 300, 14);

        JTF_flatCover.setToolTipText("Biomass:residueFlatCover");
        JTF_flatCover.setName("BiomassFlat"); // NOI18N
        JTF_flatCover.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JTF_flatCoverActionPerformed(evt);
            }
        });
        JTF_flatCover.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                JTF_flatCoverFocusLost(evt);
            }
        });
        JP_biomass.add(JTF_flatCover);
        JTF_flatCover.setBounds(340, 100, 50, 20);

        jLabel45.setText("Growing crop average height (m)");
        JP_biomass.add(jLabel45);
        jLabel45.setBounds(40, 180, 300, 14);

        JTF_cropHgt.setToolTipText("Biomass:growingHeight");
        JTF_cropHgt.setName("CropHgt"); // NOI18N
        JTF_cropHgt.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JTF_cropHgtActionPerformed(evt);
            }
        });
        JTF_cropHgt.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                JTF_cropHgtFocusLost(evt);
            }
        });
        JP_biomass.add(JTF_cropHgt);
        JTF_cropHgt.setBounds(340, 180, 50, 20);

        jLabel46.setText("Growing crop stem area index (m^2/m^2)");
        JP_biomass.add(jLabel46);
        jLabel46.setBounds(40, 200, 300, 14);

        JTF_cropSAI.setToolTipText("Biomass:growingSAI");
        JTF_cropSAI.setName("CropGSAI"); // NOI18N
        JTF_cropSAI.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JTF_cropSAIActionPerformed(evt);
            }
        });
        JTF_cropSAI.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                JTF_cropSAIFocusLost(evt);
            }
        });
        JP_biomass.add(JTF_cropSAI);
        JTF_cropSAI.setBounds(340, 200, 50, 20);

        jLabel47.setText("Growing crop leaf area index  (m^2/m^2)");
        JP_biomass.add(jLabel47);
        jLabel47.setBounds(40, 220, 300, 14);

        JTF_cropLAI.setToolTipText("Biomass:growingLAI");
        JTF_cropLAI.setName("CropGLAI"); // NOI18N
        JTF_cropLAI.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JTF_cropLAIActionPerformed(evt);
            }
        });
        JTF_cropLAI.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                JTF_cropLAIFocusLost(evt);
            }
        });
        JP_biomass.add(JTF_cropLAI);
        JTF_cropLAI.setBounds(340, 220, 50, 20);

        jLabel9.setText("Row spacing (m)");
        JP_biomass.add(jLabel9);
        jLabel9.setBounds(40, 240, 300, 14);

        JTF_rowSpacing.setToolTipText("Biomass:rowSpacing");
        JTF_rowSpacing.setName("CropRowSpacing"); // NOI18N
        JTF_rowSpacing.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JTF_rowSpacingActionPerformed(evt);
            }
        });
        JTF_rowSpacing.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                JTF_rowSpacingFocusLost(evt);
            }
        });
        JP_biomass.add(JTF_rowSpacing);
        JTF_rowSpacing.setBounds(340, 240, 50, 20);

        jLabel8.setText("Seed placement");
        JP_biomass.add(jLabel8);
        jLabel8.setBounds(40, 260, 300, 14);

        BG_seedPlacement.add(JRB_seedRidge);
        JRB_seedRidge.setSelected(true);
        JRB_seedRidge.setText("ridge");
        JRB_seedRidge.setToolTipText("Biomass:seedPlacement");
        JRB_seedRidge.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                JRB_seedRidgeItemStateChanged(evt);
            }
        });
        JP_biomass.add(JRB_seedRidge);
        JRB_seedRidge.setBounds(350, 260, 80, 20);

        BG_seedPlacement.add(JRB_seedFurrow);
        JRB_seedFurrow.setText("furrow");
        JRB_seedFurrow.setToolTipText("Biomass:seedPlacement");
        JRB_seedFurrow.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                JRB_seedFurrowItemStateChanged(evt);
            }
        });
        JP_biomass.add(JRB_seedFurrow);
        JRB_seedFurrow.setBounds(430, 260, 100, 20);

        JP_residuePics.setText("Pictures");
        JP_residuePics.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JP_residuePicsActionPerformed(evt);
            }
        });
        JP_biomass.add(JP_residuePics);
        JP_residuePics.setBounds(410, 100, 90, 20);

        JB_estimateResidueStemAreaIndex.setText("Estimate");
        JB_estimateResidueStemAreaIndex.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JB_estimateResidueStemAreaIndexActionPerformed(evt);
            }
        });
        JP_biomass.add(JB_estimateResidueStemAreaIndex);
        JB_estimateResidueStemAreaIndex.setBounds(410, 60, 90, 20);

        JB_estimateCropStemAreaIndex.setText("Estimate");
        JB_estimateCropStemAreaIndex.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JB_estimateCropStemAreaIndexActionPerformed(evt);
            }
        });
        JP_biomass.add(JB_estimateCropStemAreaIndex);
        JB_estimateCropStemAreaIndex.setBounds(410, 200, 90, 20);

        getContentPane().add(JP_biomass);
        JP_biomass.setBounds(0, 0, 525, 325);

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void JB_estimateCropStemAreaIndexActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JB_estimateCropStemAreaIndexActionPerformed
        JB_estimateCropStemAreaIndex_actionPerformed(evt);
    }//GEN-LAST:event_JB_estimateCropStemAreaIndexActionPerformed

    private void JB_estimateResidueStemAreaIndexActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JB_estimateResidueStemAreaIndexActionPerformed
        JB_estimateResidueStemAreaIndex_actionPerformed(evt);
    }//GEN-LAST:event_JB_estimateResidueStemAreaIndexActionPerformed

    protected void JB_estimateCropStemAreaIndex_actionPerformed(java.awt.event.ActionEvent evt) {

    }

    protected void JB_estimateResidueStemAreaIndex_actionPerformed(java.awt.event.ActionEvent evt) {

    }
    
    protected void JP_residuePicsActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JP_residuePicsActionPerformed
    }//GEN-LAST:event_JP_residuePicsActionPerformed

    protected void JRB_seedFurrowItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_JRB_seedFurrowItemStateChanged
    }//GEN-LAST:event_JRB_seedFurrowItemStateChanged

    protected void JRB_seedRidgeItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_JRB_seedRidgeItemStateChanged
    }//GEN-LAST:event_JRB_seedRidgeItemStateChanged

    protected void JTF_rowSpacingFocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_JTF_rowSpacingFocusLost
    }//GEN-LAST:event_JTF_rowSpacingFocusLost

    protected void JTF_rowSpacingActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JTF_rowSpacingActionPerformed
    }//GEN-LAST:event_JTF_rowSpacingActionPerformed

    protected void JTF_cropLAIFocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_JTF_cropLAIFocusLost
    }//GEN-LAST:event_JTF_cropLAIFocusLost

    protected void JTF_cropLAIActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JTF_cropLAIActionPerformed
    }//GEN-LAST:event_JTF_cropLAIActionPerformed

    protected void JTF_cropSAIFocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_JTF_cropSAIFocusLost
    }//GEN-LAST:event_JTF_cropSAIFocusLost

    protected void JTF_cropSAIActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JTF_cropSAIActionPerformed
    }//GEN-LAST:event_JTF_cropSAIActionPerformed

    protected void JTF_cropHgtFocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_JTF_cropHgtFocusLost
    }//GEN-LAST:event_JTF_cropHgtFocusLost

    protected void JTF_cropHgtActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JTF_cropHgtActionPerformed
    }//GEN-LAST:event_JTF_cropHgtActionPerformed

    protected void JTF_flatCoverFocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_JTF_flatCoverFocusLost
    }//GEN-LAST:event_JTF_flatCoverFocusLost

    protected void JTF_flatCoverActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JTF_flatCoverActionPerformed
    }//GEN-LAST:event_JTF_flatCoverActionPerformed

    protected void JTF_leafAreaIndexFocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_JTF_leafAreaIndexFocusLost
    }//GEN-LAST:event_JTF_leafAreaIndexFocusLost

    protected void JTF_leafAreaIndexActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JTF_leafAreaIndexActionPerformed
    }//GEN-LAST:event_JTF_leafAreaIndexActionPerformed

    protected void JTF_stemAreaIndexFocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_JTF_stemAreaIndexFocusLost
    }//GEN-LAST:event_JTF_stemAreaIndexFocusLost

    protected void JTF_stemAreaIndexActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JTF_stemAreaIndexActionPerformed
    }//GEN-LAST:event_JTF_stemAreaIndexActionPerformed

    protected void JTF_heightFocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_JTF_heightFocusLost
    }//GEN-LAST:event_JTF_heightFocusLost

    protected void JTF_heightActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JTF_heightActionPerformed
    }//GEN-LAST:event_JTF_heightActionPerformed
    
    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            @Override
            public void run() {
                new Biomass_n().setVisible(true);
            }
        });
    }
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    public javax.swing.ButtonGroup BG_seedPlacement;
    public javax.swing.JButton JB_estimateCropStemAreaIndex;
    public javax.swing.JButton JB_estimateResidueStemAreaIndex;
    public javax.swing.JPanel JP_biomass;
    public javax.swing.JButton JP_residuePics;
    public javax.swing.JRadioButton JRB_seedFurrow;
    public javax.swing.JRadioButton JRB_seedRidge;
    public javax.swing.JTextField JTF_cropHgt;
    public javax.swing.JTextField JTF_cropLAI;
    public javax.swing.JTextField JTF_cropSAI;
    public javax.swing.JTextField JTF_flatCover;
    public javax.swing.JTextField JTF_height;
    public javax.swing.JTextField JTF_leafAreaIndex;
    public javax.swing.JTextField JTF_rowSpacing;
    public javax.swing.JTextField JTF_stemAreaIndex;
    public javax.swing.JLabel jLabel10;
    public javax.swing.JLabel jLabel11;
    public javax.swing.JLabel jLabel12;
    public javax.swing.JLabel jLabel45;
    public javax.swing.JLabel jLabel46;
    public javax.swing.JLabel jLabel47;
    public javax.swing.JLabel jLabel7;
    public javax.swing.JLabel jLabel8;
    public javax.swing.JLabel jLabel9;
    // End of variables declaration//GEN-END:variables
    
}
