/*
 * Weps_n.java
 *
 * Created on November 23, 2003, 5:03 PM
 */

package usda.weru.weps.gui;

import org.apache.log4j.Logger;

/**
 * The WEPS model here is the parent application GUI to which the user first 
 * interacts when the application is executed. This application is used for the 
 * soil erosion sub-model to predict the soil loss due to wind erosion and what 
 * measures could be taken to reduce this erosion effect by analysing various 
 * factors via the use of various generated reports.
 * @author  manmohan
 */

public class Weps_n extends javax.swing.JFrame {
    private static final Logger LOGGER = Logger.getLogger(Weps_n.class);
    
   /**
    * Default constructor for the WEPS GUI object.
    * It also initializes the components that go in the GUI with their default
    * settings.
    */
    public Weps_n() {
        LOGGER.debug("Begin initComponents...");
        initComponents();
        LOGGER.debug("Finished initComponents.");

        LOGGER.debug("Begin pack...");
        pack();
        LOGGER.debug("Finished pack.");
    }
    
   /**
    * Default constructor for the WEPS GUI object.
    * It also initializes the components that go in the GUI with their default
    * settings.
    * @param sTitle The title string for the parent frame holding the GUI object.
    */
    public Weps_n(java.lang.String sTitle) {
        this();
        setTitle(sTitle);
    }
    
    /** 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() {

        JTB_main = new javax.swing.JToolBar();
        newButton = new javax.swing.JButton();
        openButton = new javax.swing.JButton();
        saveButton = new javax.swing.JButton();
        runButton = new javax.swing.JButton();
        runCalButton = new javax.swing.JButton();
        loadrunButton = new javax.swing.JButton();
        emailButton = new javax.swing.JButton();
        mantisButton = new javax.swing.JButton();
        aboutButton = new javax.swing.JButton();
        helpButton = new javax.swing.JButton();
        jLabel2 = new javax.swing.JLabel();
        JTF_mostRecentRun = new javax.swing.JTextField();
        JB_RR = new javax.swing.JButton();
        JB_MR = new javax.swing.JButton();
        JB_CR = new javax.swing.JButton();
        JB_SR = new javax.swing.JButton();
        JB_DR = new javax.swing.JButton();
        scrollPane = new javax.swing.JScrollPane();
        JP_main = new javax.swing.JPanel();
        runLocationPanel = new javax.swing.JPanel();
        g_runlocation = new javax.swing.JLabel();
        JB_setRunLocation = new javax.swing.JButton();
        columnsPanel = new javax.swing.JPanel();
        leftColumnPanel = new javax.swing.JPanel();
        JP_not = new javax.swing.JPanel();
        JP_client = new javax.swing.JPanel();
        JP_sim = new javax.swing.JPanel();
        centerColumnPanel = new javax.swing.JPanel();
        JP_map = new javax.swing.JPanel();
        JP_reg = new javax.swing.JPanel();
        rightColumnPanel = new javax.swing.JPanel();
        JP_bar = new javax.swing.JPanel();
        JP_loc = new javax.swing.JPanel();
        JP_aux = new javax.swing.JPanel();
        MB_main = new javax.swing.JMenuBar();
        M_project = new javax.swing.JMenu();
        newItem = new javax.swing.JMenuItem();
        openItem = new javax.swing.JMenuItem();
        saveItem = new javax.swing.JMenuItem();
        saveAsItem = new javax.swing.JMenuItem();
        setRunLocation = new javax.swing.JMenuItem();
        resetProjectItem = new javax.swing.JMenuItem();
        deleteProjectItem = new javax.swing.JMenuItem();
        exportRunItem = new javax.swing.JMenuItem();
        deleteRunItem = new javax.swing.JMenuItem();
        deleteMgmtItem = new javax.swing.JMenuItem();
        deleteSoilItem = new javax.swing.JMenuItem();
        openDatabasesItem = new javax.swing.JMenuItem();
        jSeparator1 = new javax.swing.JPopupMenu.Separator();
        exitItem = new javax.swing.JMenuItem();
        M_run = new javax.swing.JMenu();
        MI_makeRun = new javax.swing.JMenuItem();
        MI_makeCalibrationRun = new javax.swing.JMenuItem();
        MI_restoreRun = new javax.swing.JMenuItem();
        M_output = new javax.swing.JMenu();
        M_current = new javax.swing.JMenu();
        MI_currentProjectSummary = new javax.swing.JMenuItem();
        MI_currentYieldSummary = new javax.swing.JMenuItem();
        MI_currentManagementSummary = new javax.swing.JMenuItem();
        MI_currentOutput = new javax.swing.JMenuItem();
        MI_currentStirEnergyReport = new javax.swing.JMenuItem();
        MI_currentRawOutput = new javax.swing.JMenuItem();
        M_other = new javax.swing.JMenu();
        MI_otherProjectSummary = new javax.swing.JMenuItem();
        MI_otherYieldSummary = new javax.swing.JMenuItem();
        MI_otherManagementSummary = new javax.swing.JMenuItem();
        MI_otherOutput = new javax.swing.JMenuItem();
        MI_otherStirEnergyReport = new javax.swing.JMenuItem();
        MI_otherRawOutput = new javax.swing.JMenuItem();
        MI_runmanger = new javax.swing.JMenuItem();
        M_config = new javax.swing.JMenu();
        MI_editConfig = new javax.swing.JMenuItem();
        M_tools = new javax.swing.JMenu();
        M_dbreports = new javax.swing.JMenu();
        JMI_cropsreport = new javax.swing.JMenuItem();
        JMI_opsreport = new javax.swing.JMenuItem();
        JMI_manreport = new javax.swing.JMenuItem();
        MISendEmail = new javax.swing.JMenuItem();
        JMI_mantis = new javax.swing.JMenuItem();
        MIWindStation = new javax.swing.JMenuItem();
        MIDiff = new javax.swing.JMenuItem();
        M_help = new javax.swing.JMenu();
        MI_helpTopics = new javax.swing.JMenuItem();
        MI_userGuide = new javax.swing.JMenuItem();
        MI_welcomWizard = new javax.swing.JMenuItem();
        MI_log = new javax.swing.JMenuItem();
        MI_aboutItem = new javax.swing.JMenuItem();

        setTitle("WEPS User Interface");
        setBackground(new java.awt.Color(255, 255, 255));
        setMinimumSize(new java.awt.Dimension(500, 400));
        addWindowFocusListener(new java.awt.event.WindowFocusListener() {
            public void windowGainedFocus(java.awt.event.WindowEvent evt) {
                windowGainedFocus_ActionPerformed(evt);
            }
            public void windowLostFocus(java.awt.event.WindowEvent evt) {
            }
        });
        addWindowListener(new java.awt.event.WindowAdapter() {
            public void windowClosing(java.awt.event.WindowEvent evt) {
                exitSystem(evt);
            }
        });

        JTB_main.setFloatable(false);
        JTB_main.setToolTipText("Weps:toolbar");

        newButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/usda/weru/resources/new.gif"))); // NOI18N
        newButton.setToolTipText("Toolbar:new");
        newButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                newButton_ActionPerformed(evt);
            }
        });
        JTB_main.add(newButton);

        openButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/usda/weru/resources/open.gif"))); // NOI18N
        openButton.setToolTipText("Toolbar:open");
        openButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                openButton_ActionPerformed(evt);
            }
        });
        JTB_main.add(openButton);

        saveButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/usda/weru/resources/save.gif"))); // NOI18N
        saveButton.setToolTipText("Toolbar:save");
        saveButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                saveButton_ActionPerformed(evt);
            }
        });
        JTB_main.add(saveButton);

        runButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/usda/weru/resources/run.gif"))); // NOI18N
        runButton.setToolTipText("Toolbar:run");
        runButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                runButton_ActionPerformed(evt);
            }
        });
        JTB_main.add(runButton);

        runCalButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/usda/weru/resources/runcal.png"))); // NOI18N
        runCalButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                runCalButtonActionPerformed(evt);
            }
        });
        JTB_main.add(runCalButton);

        loadrunButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/usda/weru/resources/rerun.gif"))); // NOI18N
        loadrunButton.setToolTipText("Toolbar:loadRun");
        loadrunButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                loadrunButton_ActionPerformed(evt);
            }
        });
        JTB_main.add(loadrunButton);

        emailButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/usda/weru/resources/email.gif"))); // NOI18N
        emailButton.setToolTipText("Toolbar:email");
        emailButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                emailButton_ActionPerformed(evt);
            }
        });
        JTB_main.add(emailButton);

        mantisButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/usda/weru/resources/mantis.gif"))); // NOI18N
        mantisButton.setToolTipText("Toolbar:mantis");
        mantisButton.setFocusable(false);
        mantisButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        mantisButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        mantisButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                mantisButton_ActionPerformed(evt);
            }
        });
        JTB_main.add(mantisButton);

        aboutButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/usda/weru/resources/about.gif"))); // NOI18N
        aboutButton.setToolTipText("Toolbar:about");
        aboutButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                aboutButton_ActionPerformed(evt);
            }
        });
        JTB_main.add(aboutButton);

        helpButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/usda/weru/resources/help.gif"))); // NOI18N
        helpButton.setToolTipText("Toolbar:help");
        helpButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                helpButton_ActionPerformed(evt);
            }
        });
        JTB_main.add(helpButton);

        jLabel2.setText("  ");
        JTB_main.add(jLabel2);

        JTF_mostRecentRun.setEditable(false);
        JTF_mostRecentRun.setFont(new java.awt.Font("Tahoma", 0, 10));
        JTF_mostRecentRun.setBorder(null);
        JTF_mostRecentRun.setOpaque(false);
        JTF_mostRecentRun.setPreferredSize(new java.awt.Dimension(265, 20));
        JTF_mostRecentRun.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                JTF_mostRecentRunMouseMoved(evt);
            }
        });
        JTB_main.add(JTF_mostRecentRun);

        JB_RR.setIcon(new javax.swing.ImageIcon(getClass().getResource("/usda/weru/resources/ReportR.gif"))); // NOI18N
        JB_RR.setToolTipText("Toolbar:ProjectSummary");
        JB_RR.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JB_RR_ActionPerformed(evt);
            }
        });
        JTB_main.add(JB_RR);

        JB_MR.setIcon(new javax.swing.ImageIcon(getClass().getResource("/usda/weru/resources/ReportM.gif"))); // NOI18N
        JB_MR.setToolTipText("Toolbar:ManagemenSummary");
        JB_MR.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JB_MR_ActionPerformed(evt);
            }
        });
        JTB_main.add(JB_MR);

        JB_CR.setIcon(new javax.swing.ImageIcon(getClass().getResource("/usda/weru/resources/ReportC.gif"))); // NOI18N
        JB_CR.setToolTipText("Toolbar:CropSummary");
        JB_CR.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JB_CR_ActionPerformed(evt);
            }
        });
        JTB_main.add(JB_CR);

        JB_SR.setIcon(new javax.swing.ImageIcon(getClass().getResource("/usda/weru/resources/ReportS.gif"))); // NOI18N
        JB_SR.setToolTipText("Toolbar:CropSummary");
        JB_SR.setFocusable(false);
        JB_SR.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        JB_SR.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        JB_SR.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JB_SR_ActionPerformed(evt);
            }
        });
        JTB_main.add(JB_SR);

        JB_DR.setIcon(new javax.swing.ImageIcon(getClass().getResource("/usda/weru/resources/ReportD.gif"))); // NOI18N
        JB_DR.setToolTipText("Toolbar:DetailedSummary");
        JB_DR.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JB_DR_ActionPerformed(evt);
            }
        });
        JTB_main.add(JB_DR);

        scrollPane.setBorder(null);

        JP_main.setToolTipText("Weps:main");
        JP_main.setMinimumSize(new java.awt.Dimension(500, 300));

        runLocationPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Runs Location"));

        g_runlocation.setFont(g_runlocation.getFont().deriveFont(g_runlocation.getFont().getStyle() & ~java.awt.Font.BOLD));

        JB_setRunLocation.setIcon(new javax.swing.ImageIcon(getClass().getResource("/usda/weru/resources/folder.gif"))); // NOI18N
        JB_setRunLocation.setToolTipText("Toolbar:setRunLocation");
        JB_setRunLocation.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JB_setRunLocation_ActionPerformed(evt);
            }
        });

        org.jdesktop.layout.GroupLayout runLocationPanelLayout = new org.jdesktop.layout.GroupLayout(runLocationPanel);
        runLocationPanel.setLayout(runLocationPanelLayout);
        runLocationPanelLayout.setHorizontalGroup(
            runLocationPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(runLocationPanelLayout.createSequentialGroup()
                .add(JB_setRunLocation, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 26, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(g_runlocation, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 865, Short.MAX_VALUE))
        );
        runLocationPanelLayout.setVerticalGroup(
            runLocationPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(JB_setRunLocation, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 25, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
            .add(g_runlocation, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 25, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
        );

        columnsPanel.setLayout(new java.awt.GridLayout(1, 3, 3, 0));

        JP_not.setBorder(javax.swing.BorderFactory.createTitledBorder("Notes"));
        JP_not.setToolTipText("Weps:not");
        JP_not.setPreferredSize(new java.awt.Dimension(300, 300));
        JP_not.setLayout(new javax.swing.BoxLayout(JP_not, javax.swing.BoxLayout.LINE_AXIS));

        JP_client.setBorder(javax.swing.BorderFactory.createTitledBorder("Client Information"));
        JP_client.setToolTipText("Weps:sim");
        JP_client.setLayout(new java.awt.GridLayout(1, 1));

        JP_sim.setBorder(javax.swing.BorderFactory.createTitledBorder("Simulation"));
        JP_sim.setLayout(new java.awt.GridLayout(1, 0));

        org.jdesktop.layout.GroupLayout leftColumnPanelLayout = new org.jdesktop.layout.GroupLayout(leftColumnPanel);
        leftColumnPanel.setLayout(leftColumnPanelLayout);
        leftColumnPanelLayout.setHorizontalGroup(
            leftColumnPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(JP_not, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 303, Short.MAX_VALUE)
            .add(JP_client, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 303, Short.MAX_VALUE)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, JP_sim, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 303, Short.MAX_VALUE)
        );
        leftColumnPanelLayout.setVerticalGroup(
            leftColumnPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(leftColumnPanelLayout.createSequentialGroup()
                .add(JP_client, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 130, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(JP_sim, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 175, Short.MAX_VALUE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(JP_not, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 161, Short.MAX_VALUE))
        );

        columnsPanel.add(leftColumnPanel);

        JP_map.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
        JP_map.setToolTipText("Weps:map");
        JP_map.setLayout(new java.awt.GridLayout(1, 0));

        JP_reg.setBorder(javax.swing.BorderFactory.createTitledBorder("Region"));
        JP_reg.setToolTipText("Weps:reg");
        JP_reg.setLayout(new java.awt.GridLayout(1, 0));

        org.jdesktop.layout.GroupLayout centerColumnPanelLayout = new org.jdesktop.layout.GroupLayout(centerColumnPanel);
        centerColumnPanel.setLayout(centerColumnPanelLayout);
        centerColumnPanelLayout.setHorizontalGroup(
            centerColumnPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(JP_reg, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 303, Short.MAX_VALUE)
            .add(JP_map, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 303, Short.MAX_VALUE)
        );
        centerColumnPanelLayout.setVerticalGroup(
            centerColumnPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(centerColumnPanelLayout.createSequentialGroup()
                .add(JP_reg, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 130, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(JP_map, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 336, Short.MAX_VALUE))
        );

        columnsPanel.add(centerColumnPanel);

        JP_bar.setBorder(javax.swing.BorderFactory.createTitledBorder("Barriers"));
        JP_bar.setToolTipText("Weps:bar");
        JP_bar.setLayout(new java.awt.GridLayout(1, 0));

        JP_loc.setBorder(javax.swing.BorderFactory.createTitledBorder("Location"));
        JP_loc.setToolTipText("Weps:loc");
        JP_loc.setLayout(new java.awt.GridLayout(1, 0));

        org.jdesktop.layout.GroupLayout rightColumnPanelLayout = new org.jdesktop.layout.GroupLayout(rightColumnPanel);
        rightColumnPanel.setLayout(rightColumnPanelLayout);
        rightColumnPanelLayout.setHorizontalGroup(
            rightColumnPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(JP_loc, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 303, Short.MAX_VALUE)
            .add(JP_bar, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 303, Short.MAX_VALUE)
        );
        rightColumnPanelLayout.setVerticalGroup(
            rightColumnPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(rightColumnPanelLayout.createSequentialGroup()
                .add(JP_loc, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 258, Short.MAX_VALUE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(JP_bar, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 214, Short.MAX_VALUE))
        );

        columnsPanel.add(rightColumnPanel);

        JP_aux.setToolTipText("Weps:aux");
        JP_aux.setLayout(new java.awt.BorderLayout());

        org.jdesktop.layout.GroupLayout JP_mainLayout = new org.jdesktop.layout.GroupLayout(JP_main);
        JP_main.setLayout(JP_mainLayout);
        JP_mainLayout.setHorizontalGroup(
            JP_mainLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(JP_aux, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 915, Short.MAX_VALUE)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, columnsPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 915, Short.MAX_VALUE)
            .add(runLocationPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        JP_mainLayout.setVerticalGroup(
            JP_mainLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, JP_mainLayout.createSequentialGroup()
                .add(runLocationPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .add(0, 0, 0)
                .add(columnsPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 478, Short.MAX_VALUE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(JP_aux, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 90, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
        );

        scrollPane.setViewportView(JP_main);

        M_project.setMnemonic('P');
        M_project.setText("Project");
        M_project.setToolTipText("Menu:project");
        M_project.setActionCommand("File");

        newItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_N, java.awt.event.InputEvent.CTRL_MASK));
        newItem.setMnemonic('N');
        newItem.setText("New");
        newItem.setToolTipText("Menu:new");
        newItem.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        newItem.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                newItem_ActionPerformed(evt);
            }
        });
        M_project.add(newItem);

        openItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_O, java.awt.event.InputEvent.CTRL_MASK));
        openItem.setMnemonic('O');
        openItem.setText("Open...");
        openItem.setToolTipText("Menu:open");
        openItem.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        openItem.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                openItem_ActionPerformed(evt);
            }
        });
        M_project.add(openItem);

        saveItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, java.awt.event.InputEvent.CTRL_MASK));
        saveItem.setMnemonic('S');
        saveItem.setText("Save");
        saveItem.setToolTipText("Menu:save");
        saveItem.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        saveItem.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                saveItem_ActionPerformed(evt);
            }
        });
        M_project.add(saveItem);

        saveAsItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_A, java.awt.event.InputEvent.CTRL_MASK));
        saveAsItem.setMnemonic('A');
        saveAsItem.setText("Save As...");
        saveAsItem.setToolTipText("Menu:saveAs");
        saveAsItem.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        saveAsItem.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                saveAsItem_ActionPerformed(evt);
            }
        });
        M_project.add(saveAsItem);

        setRunLocation.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_U, java.awt.event.InputEvent.CTRL_MASK));
        setRunLocation.setMnemonic('U');
        setRunLocation.setText("Set Run Location");
        setRunLocation.setToolTipText("Menu:setRunLocation");
        setRunLocation.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                setRunLocationActionPerformed(evt);
            }
        });
        M_project.add(setRunLocation);

        resetProjectItem.setText("Reset");
        resetProjectItem.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                resetProjectItemActionPerformed(evt);
            }
        });
        M_project.add(resetProjectItem);

        deleteProjectItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_P, java.awt.event.InputEvent.CTRL_MASK));
        deleteProjectItem.setMnemonic('P');
        deleteProjectItem.setText("Delete Project");
        deleteProjectItem.setToolTipText("Menu:deleteProject");
        deleteProjectItem.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        deleteProjectItem.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                deleteProjectItemActionPerformed(evt);
            }
        });
        M_project.add(deleteProjectItem);

        exportRunItem.setText("Export Run...");
        exportRunItem.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                exportRunItemActionPerformed(evt);
            }
        });
        M_project.add(exportRunItem);

        deleteRunItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_D, java.awt.event.InputEvent.CTRL_MASK));
        deleteRunItem.setMnemonic('D');
        deleteRunItem.setText("Delete Run");
        deleteRunItem.setToolTipText("Menu:deleteRun");
        deleteRunItem.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        deleteRunItem.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                deleteRunItemActionPerformed(evt);
            }
        });
        M_project.add(deleteRunItem);

        deleteMgmtItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_M, java.awt.event.InputEvent.CTRL_MASK));
        deleteMgmtItem.setMnemonic('M');
        deleteMgmtItem.setText("Delete Management Rotation File\n");
        deleteMgmtItem.setToolTipText("Menu:deleteMgmtFile");
        deleteMgmtItem.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        deleteMgmtItem.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                deleteMgmtItemActionPerformed(evt);
            }
        });
        M_project.add(deleteMgmtItem);

        deleteSoilItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_L, java.awt.event.InputEvent.CTRL_MASK));
        deleteSoilItem.setText("Delete IFC Soil File");
        deleteSoilItem.setToolTipText("Menu:deleteSoilFile");
        deleteSoilItem.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        deleteSoilItem.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                deleteSoilItemActionPerformed(evt);
            }
        });
        M_project.add(deleteSoilItem);

        openDatabasesItem.setText("Browse Databases Folder...");
        openDatabasesItem.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                openDatabasesItemActionPerformed(evt);
            }
        });
        M_project.add(openDatabasesItem);
        M_project.add(jSeparator1);

        exitItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_X, java.awt.event.InputEvent.CTRL_MASK));
        exitItem.setMnemonic('X');
        exitItem.setText("Exit");
        exitItem.setToolTipText("Menu:exit");
        exitItem.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                exitItem_ActionPerformed(evt);
            }
        });
        M_project.add(exitItem);

        MB_main.add(M_project);

        M_run.setMnemonic('R');
        M_run.setText("Run");
        M_run.setToolTipText("Menu:run");

        MI_makeRun.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_R, java.awt.event.InputEvent.CTRL_MASK));
        MI_makeRun.setMnemonic('R');
        MI_makeRun.setText("Make a WEPS Run");
        MI_makeRun.setToolTipText("Menu:makeRun");
        MI_makeRun.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MIMakeRun_ActionPerformed(evt);
            }
        });
        M_run.add(MI_makeRun);

        MI_makeCalibrationRun.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_C, java.awt.event.InputEvent.CTRL_MASK));
        MI_makeCalibrationRun.setMnemonic('C');
        MI_makeCalibrationRun.setText("Make a Yield Calibration WEPS Run");
        MI_makeCalibrationRun.setToolTipText("Menu:makeYieldCalibrationRun");
        MI_makeCalibrationRun.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MIMakeCalibrationRun_ActionPerformed(evt);
            }
        });
        M_run.add(MI_makeCalibrationRun);

        MI_restoreRun.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_E, java.awt.event.InputEvent.CTRL_MASK));
        MI_restoreRun.setMnemonic('E');
        MI_restoreRun.setText("Restore WEPS Run");
        MI_restoreRun.setToolTipText("Menu:restoreRun");
        MI_restoreRun.setActionCommand("Restore a WEPS Run");
        MI_restoreRun.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MIRestoreRun_ActionPerformed(evt);
            }
        });
        M_run.add(MI_restoreRun);

        MB_main.add(M_run);

        M_output.setMnemonic('V');
        M_output.setText("ViewOutput");
        M_output.setToolTipText("Menu:output");

        M_current.setMnemonic('C');
        M_current.setText("Most Recent Run");
        M_current.setToolTipText("Menu:currentOutput");
        M_current.setActionCommand("ViewOutput");

        MI_currentProjectSummary.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, java.awt.event.InputEvent.SHIFT_MASK | java.awt.event.InputEvent.CTRL_MASK));
        MI_currentProjectSummary.setMnemonic('R');
        MI_currentProjectSummary.setText("Run Summary");
        MI_currentProjectSummary.setToolTipText("Menu:currentRS");
        MI_currentProjectSummary.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MICurrentProjectSummary_ActionPerformed(evt);
            }
        });
        M_current.add(MI_currentProjectSummary);

        MI_currentYieldSummary.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_C, java.awt.event.InputEvent.SHIFT_MASK | java.awt.event.InputEvent.CTRL_MASK));
        MI_currentYieldSummary.setMnemonic('C');
        MI_currentYieldSummary.setText("Crop Summary");
        MI_currentYieldSummary.setToolTipText("Menu:currentYS");
        MI_currentYieldSummary.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MICurrentYieldSummary_ActionPerformed(evt);
            }
        });
        M_current.add(MI_currentYieldSummary);

        MI_currentManagementSummary.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_M, java.awt.event.InputEvent.SHIFT_MASK | java.awt.event.InputEvent.CTRL_MASK));
        MI_currentManagementSummary.setMnemonic('M');
        MI_currentManagementSummary.setText("Management Summary");
        MI_currentManagementSummary.setToolTipText("Menu:currentMS");
        MI_currentManagementSummary.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MICurrentManagementSummary_ActionPerformed(evt);
            }
        });
        M_current.add(MI_currentManagementSummary);

        MI_currentOutput.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_R, java.awt.event.InputEvent.SHIFT_MASK | java.awt.event.InputEvent.CTRL_MASK));
        MI_currentOutput.setMnemonic('R');
        MI_currentOutput.setText("Detail Reports");
        MI_currentOutput.setToolTipText("Menu:currentO");
        MI_currentOutput.setActionCommand("Current Run Output");
        MI_currentOutput.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MICurrentOutput_ActionPerformed(evt);
            }
        });
        M_current.add(MI_currentOutput);

        MI_currentStirEnergyReport.setText("STIR Energy Report");
        M_current.add(MI_currentStirEnergyReport);

        MI_currentRawOutput.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_O, java.awt.event.InputEvent.SHIFT_MASK | java.awt.event.InputEvent.CTRL_MASK));
        MI_currentRawOutput.setMnemonic('O');
        MI_currentRawOutput.setText("Debugging Reports");
        MI_currentRawOutput.setToolTipText("Menu:currentRO");
        MI_currentRawOutput.setActionCommand("Current Run Output");
        MI_currentRawOutput.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MICurrentRawOutput_ActionPerformed(evt);
            }
        });
        M_current.add(MI_currentRawOutput);

        M_output.add(M_current);

        M_other.setMnemonic('P');
        M_other.setText("Previous Run");
        M_other.setToolTipText("Menu:otherOutput");
        M_other.setActionCommand("ViewOutput");

        MI_otherProjectSummary.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, java.awt.event.InputEvent.ALT_MASK | java.awt.event.InputEvent.CTRL_MASK));
        MI_otherProjectSummary.setMnemonic('R');
        MI_otherProjectSummary.setText("Run Summary");
        MI_otherProjectSummary.setToolTipText("Menu:otherRS");
        MI_otherProjectSummary.setActionCommand("Other Run Summary");
        MI_otherProjectSummary.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MIOtherSummary_ActionPerformed(evt);
            }
        });
        M_other.add(MI_otherProjectSummary);

        MI_otherYieldSummary.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_C, java.awt.event.InputEvent.ALT_MASK | java.awt.event.InputEvent.CTRL_MASK));
        MI_otherYieldSummary.setMnemonic('C');
        MI_otherYieldSummary.setText("Crop Summary");
        MI_otherYieldSummary.setToolTipText("Menu:otherYS");
        MI_otherYieldSummary.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MIOtherYieldSummary_ActionPerformed(evt);
            }
        });
        M_other.add(MI_otherYieldSummary);

        MI_otherManagementSummary.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_M, java.awt.event.InputEvent.ALT_MASK | java.awt.event.InputEvent.CTRL_MASK));
        MI_otherManagementSummary.setMnemonic('M');
        MI_otherManagementSummary.setText("Management Summary");
        MI_otherManagementSummary.setToolTipText("Menu:otherMS");
        MI_otherManagementSummary.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MIOtherManagementSummary_ActionPerformed(evt);
            }
        });
        M_other.add(MI_otherManagementSummary);

        MI_otherOutput.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_R, java.awt.event.InputEvent.ALT_MASK | java.awt.event.InputEvent.CTRL_MASK));
        MI_otherOutput.setMnemonic('R');
        MI_otherOutput.setText("Detailed Reports");
        MI_otherOutput.setToolTipText("Menu:otherO");
        MI_otherOutput.setActionCommand("Other Run Output");
        MI_otherOutput.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MIOtherOutput_ActionPerformed(evt);
            }
        });
        M_other.add(MI_otherOutput);

        MI_otherStirEnergyReport.setText("STIR Energy Report");
        M_other.add(MI_otherStirEnergyReport);

        MI_otherRawOutput.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_O, java.awt.event.InputEvent.ALT_MASK | java.awt.event.InputEvent.CTRL_MASK));
        MI_otherRawOutput.setMnemonic('O');
        MI_otherRawOutput.setText("Debugging Reports");
        MI_otherRawOutput.setToolTipText("Menu:otherRO");
        MI_otherRawOutput.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MIOtherRawOutput_ActionPerformed(evt);
            }
        });
        M_other.add(MI_otherRawOutput);

        M_output.add(M_other);

        MI_runmanger.setText("Multiple Run Manager");
        MI_runmanger.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MI_runmangerActionPerformed(evt);
            }
        });
        M_output.add(MI_runmanger);

        MB_main.add(M_output);

        M_config.setMnemonic('C');
        M_config.setText("Configuration");
        M_config.setToolTipText("Menu:config");
        M_config.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                M_configActionPerformed(evt);
            }
        });

        MI_editConfig.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_E, java.awt.event.InputEvent.ALT_MASK | java.awt.event.InputEvent.CTRL_MASK));
        MI_editConfig.setMnemonic('E');
        MI_editConfig.setText("Edit Configuration");
        MI_editConfig.setToolTipText("Menu:editConfig");
        MI_editConfig.setActionCommand("Current Run Summary");
        MI_editConfig.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MIEditConfig_ActionPerformed(evt);
            }
        });
        M_config.add(MI_editConfig);

        MB_main.add(M_config);

        M_tools.setMnemonic('T');
        M_tools.setText("Tools");
        M_tools.setToolTipText("Menu:tools");

        M_dbreports.setText("Database Reports");

        JMI_cropsreport.setText("Crops");
        JMI_cropsreport.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JMI_cropsreportActionPerformed(evt);
            }
        });
        M_dbreports.add(JMI_cropsreport);

        JMI_opsreport.setText("Operations");
        JMI_opsreport.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JMI_opsreportActionPerformed(evt);
            }
        });
        M_dbreports.add(JMI_opsreport);

        JMI_manreport.setText("Managements");
        JMI_manreport.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JMI_manreportActionPerformed(evt);
            }
        });
        M_dbreports.add(JMI_manreport);

        M_tools.add(M_dbreports);

        MISendEmail.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, java.awt.event.InputEvent.ALT_MASK | java.awt.event.InputEvent.CTRL_MASK));
        MISendEmail.setMnemonic('S');
        MISendEmail.setText("Send Email");
        MISendEmail.setToolTipText("Menu:sendEmail");
        MISendEmail.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                MISendEmail_MouseClicked(evt);
            }
        });
        MISendEmail.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MISendEmail_ActionPerformed(evt);
            }
        });
        M_tools.add(MISendEmail);

        JMI_mantis.setText("Bug / Comment Report");
        JMI_mantis.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JMI_mantisActionPerformed(evt);
            }
        });
        M_tools.add(JMI_mantis);

        MIWindStation.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_W, java.awt.event.InputEvent.ALT_MASK | java.awt.event.InputEvent.CTRL_MASK));
        MIWindStation.setMnemonic('S');
        MIWindStation.setText("Display Wind Station");
        MIWindStation.setToolTipText("Menu:windStation");
        MIWindStation.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MIWindStationActionPerformed(evt);
            }
        });
        M_tools.add(MIWindStation);
        MIWindStation.getAccessibleContext().setAccessibleName("Wind Station");

        MIDiff.setText("WEPS Diff");
        MIDiff.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MIDiffActionPerformed(evt);
            }
        });
        M_tools.add(MIDiff);

        MB_main.add(M_tools);

        M_help.setMnemonic('H');
        M_help.setText("Help");
        M_help.setToolTipText("Menu:help");

        MI_helpTopics.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_T, java.awt.event.InputEvent.ALT_MASK | java.awt.event.InputEvent.CTRL_MASK));
        MI_helpTopics.setMnemonic('T');
        MI_helpTopics.setText("Help Topics");
        MI_helpTopics.setToolTipText("Menu:helpTopics");
        MI_helpTopics.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MIHelpTopics_ActionPerformed(evt);
            }
        });
        M_help.add(MI_helpTopics);

        MI_userGuide.setMnemonic('u');
        MI_userGuide.setText("User Guide");
        MI_userGuide.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MI_userGuideActionPerformed(evt);
            }
        });
        M_help.add(MI_userGuide);

        MI_welcomWizard.setText("Welcome Wizard");
        MI_welcomWizard.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MI_welcomWizardActionPerformed(evt);
            }
        });
        M_help.add(MI_welcomWizard);

        MI_log.setText("View Log");
        MI_log.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MI_logActionPerformed(evt);
            }
        });
        M_help.add(MI_log);

        MI_aboutItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_A, java.awt.event.InputEvent.ALT_MASK | java.awt.event.InputEvent.CTRL_MASK));
        MI_aboutItem.setMnemonic('A');
        MI_aboutItem.setText("About Weps");
        MI_aboutItem.setToolTipText("Menu:about");
        MI_aboutItem.setActionCommand("About...");
        MI_aboutItem.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        MI_aboutItem.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MI_aboutItem_ActionPerformed(evt);
            }
        });
        M_help.add(MI_aboutItem);

        MB_main.add(M_help);

        setJMenuBar(MB_main);

        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(JTB_main, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 917, Short.MAX_VALUE)
            .add(scrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 917, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(layout.createSequentialGroup()
                .add(JTB_main, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(scrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 628, Short.MAX_VALUE))
        );

        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-919)/2, (screenSize.height-724)/2, 919, 724);
    }// </editor-fold>//GEN-END:initComponents

    protected void MI_userGuideActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MI_userGuideActionPerformed

    }//GEN-LAST:event_MI_userGuideActionPerformed

    protected void runCalButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_runCalButtonActionPerformed
        MIMakeCalibrationRun_actionPerformed(evt);
    }//GEN-LAST:event_runCalButtonActionPerformed

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

    }
    
    protected void JP_center_componentResized(java.awt.event.ComponentEvent evt) {

    }
    protected void JTF_mostRecentRunMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_JTF_mostRecentRunMouseMoved
        JTF_mostRecentRun_mouseMoved(evt);
    }//GEN-LAST:event_JTF_mostRecentRunMouseMoved

     protected void JTF_mostRecentRun_mouseMoved(java.awt.event.MouseEvent evt) {

    }
    
    protected void JB_setRunLocation_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JB_setRunLocation_ActionPerformed
         setRunLocation_actionPerformed(evt);
    }//GEN-LAST:event_JB_setRunLocation_ActionPerformed

    protected void setRunLocationActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_setRunLocationActionPerformed
        setRunLocation_actionPerformed(evt);
    }//GEN-LAST:event_setRunLocationActionPerformed

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

    }
    
    protected void JB_DR_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JB_DR_ActionPerformed
        JB_DR_actionPerformed(evt);
    }//GEN-LAST:event_JB_DR_ActionPerformed

    protected void JB_CR_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JB_CR_ActionPerformed
        JB_CR_actionPerformed(evt);
    }//GEN-LAST:event_JB_CR_ActionPerformed

    protected void JB_MR_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JB_MR_ActionPerformed
        JB_MR_actionPerformed(evt);
    }//GEN-LAST:event_JB_MR_ActionPerformed

    protected void JB_RR_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JB_RR_ActionPerformed
        JB_RR_actionPerformed(evt);
    }//GEN-LAST:event_JB_RR_ActionPerformed
    
    protected void JB_DR_actionPerformed(java.awt.event.ActionEvent evt) {

    }

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

    }

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

    }

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

    }
    
    protected void JB_SR_actionPerformed(java.awt.event.ActionEvent evt) {

    }

    
    
    protected void MIDiffActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MIDiffActionPerformed
        MIDiff_actionPerformed(evt);
    }//GEN-LAST:event_MIDiffActionPerformed

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

    }
    
    protected void MI_runmangerActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MI_runmangerActionPerformed
        MI_runmanger_actionPerformed(evt);
    }//GEN-LAST:event_MI_runmangerActionPerformed
    protected void MI_runmanger_actionPerformed(java.awt.event.ActionEvent evt){}
    protected void MIWindStationActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MIWindStationActionPerformed
        MIWindStation_actionPerformed(evt);
    }//GEN-LAST:event_MIWindStationActionPerformed

    protected void windowGainedFocus_ActionPerformed(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_windowGainedFocus_ActionPerformed
        windowGainedFocus_actionPerformed(evt);
    }//GEN-LAST:event_windowGainedFocus_ActionPerformed

    protected void deleteSoilItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_deleteSoilItemActionPerformed
        deleteSoilItem_actionPerformed(evt);
    }//GEN-LAST:event_deleteSoilItemActionPerformed

    protected void deleteMgmtItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_deleteMgmtItemActionPerformed
        deleteMgmtItem_actionPerformed(evt);
    }//GEN-LAST:event_deleteMgmtItemActionPerformed

    protected void deleteRunItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_deleteRunItemActionPerformed
        deleteRunItem_actionPerformed(evt);
    }//GEN-LAST:event_deleteRunItemActionPerformed

    protected void deleteProjectItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_deleteProjectItemActionPerformed
        deleteProjectItem_actionPerformed(evt);
    }//GEN-LAST:event_deleteProjectItemActionPerformed

    protected void MIMakeCalibrationRun_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MIMakeCalibrationRun_ActionPerformed
        MIMakeCalibrationRun_actionPerformed(evt);
    }//GEN-LAST:event_MIMakeCalibrationRun_ActionPerformed

    protected void MIMakeRun_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MIMakeRun_ActionPerformed
        MIMakeRun_actionPerformed(evt);
    }//GEN-LAST:event_MIMakeRun_ActionPerformed

    protected void emailButton_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_emailButton_ActionPerformed
       //MISendEmail2_actionPerformed(evt);
       MISendEmail.doClick();
    }//GEN-LAST:event_emailButton_ActionPerformed

    protected void MISendEmail_MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_MISendEmail_MouseClicked
        try {
			// MI_sendEmail Click the JMenuItem
			MISendEmail.doClick();
		} catch (java.lang.Exception e) {
		}
    }//GEN-LAST:event_MISendEmail_MouseClicked

    protected void exitSystem(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_exitSystem
        exitApplication();
    }//GEN-LAST:event_exitSystem

    protected void helpButton_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_helpButton_ActionPerformed
        MIHelpTopics_actionPerformed(evt);
    }//GEN-LAST:event_helpButton_ActionPerformed

    protected void aboutButton_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_aboutButton_ActionPerformed
        // Add your handling code here:
        MI_aboutButton_actionPerformed(evt);
    }//GEN-LAST:event_aboutButton_ActionPerformed

    protected void loadrunButton_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_loadrunButton_ActionPerformed
        // Add your handling code here:
        MIRestoreRun_actionPerformed(evt);
    }//GEN-LAST:event_loadrunButton_ActionPerformed

    protected void runButton_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_runButton_ActionPerformed
        // Add your handling code here:
        MIMakeRun_actionPerformed(evt);
    }//GEN-LAST:event_runButton_ActionPerformed

    protected void saveButton_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_saveButton_ActionPerformed
        // Add your handling code here:
        saveItem_actionPerformed(evt);
    }//GEN-LAST:event_saveButton_ActionPerformed

    protected void openButton_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_openButton_ActionPerformed
        // Add your handling code here:
        openItem_actionPerformed(evt);
    }//GEN-LAST:event_openButton_ActionPerformed

    protected void newButton_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_newButton_ActionPerformed
        // Add your handling code here:
        newItem_actionPerformed(evt);
    }//GEN-LAST:event_newButton_ActionPerformed

    protected void MIHelpTopics_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MIHelpTopics_ActionPerformed
        // Add your handling code here:
        MIHelpTopics_actionPerformed(evt);
    }//GEN-LAST:event_MIHelpTopics_ActionPerformed

    protected void MI_aboutItem_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MI_aboutItem_ActionPerformed
        // Add your handling code here:
        MI_aboutItem_actionPerformed(evt);
    }//GEN-LAST:event_MI_aboutItem_ActionPerformed

    protected void MISendEmail_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MISendEmail_ActionPerformed
        // Add your handling code here:
        MISendEmail_actionPerformed(evt);
    }//GEN-LAST:event_MISendEmail_ActionPerformed

    protected void MIRestoreRun_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MIRestoreRun_ActionPerformed
        // Add your handling code here:
        MIRestoreRun_actionPerformed(evt);
    }//GEN-LAST:event_MIRestoreRun_ActionPerformed

    protected void MIOtherRawOutput_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MIOtherRawOutput_ActionPerformed
        // Add your handling code here:
        MIOtherRawOutput_actionPerformed(evt);
    }//GEN-LAST:event_MIOtherRawOutput_ActionPerformed

    protected void MIOtherOutput_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MIOtherOutput_ActionPerformed
        // Add your handling code here:
        MIOtherOutput_actionPerformed(evt);
    }//GEN-LAST:event_MIOtherOutput_ActionPerformed

    protected void MIOtherManagementSummary_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MIOtherManagementSummary_ActionPerformed
        // Add your handling code here:
        MIOtherManagementSummary_actionPerformed(evt);
    }//GEN-LAST:event_MIOtherManagementSummary_ActionPerformed

    protected void MIOtherYieldSummary_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MIOtherYieldSummary_ActionPerformed
        // Add your handling code here:
        MIOtherYieldSummary_actionPerformed(evt);
    }//GEN-LAST:event_MIOtherYieldSummary_ActionPerformed

    protected void MIOtherSummary_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MIOtherSummary_ActionPerformed
        // Add your handling code here:
        MIOtherSummary_actionPerformed(evt);
    }//GEN-LAST:event_MIOtherSummary_ActionPerformed

    protected void MICurrentRawOutput_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MICurrentRawOutput_ActionPerformed
        // Add your handling code here:
        MICurrentRawOutput_actionPerformed(evt);
    }//GEN-LAST:event_MICurrentRawOutput_ActionPerformed

    protected void MICurrentOutput_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MICurrentOutput_ActionPerformed
        // Add your handling code here:
        MICurrentOutput_actionPerformed(evt);
    }//GEN-LAST:event_MICurrentOutput_ActionPerformed

    protected void MICurrentManagementSummary_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MICurrentManagementSummary_ActionPerformed
        // Add your handling code here:
        MICurrentManagementSummary_actionPerformed(evt);
    }//GEN-LAST:event_MICurrentManagementSummary_ActionPerformed

    protected void MICurrentYieldSummary_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MICurrentYieldSummary_ActionPerformed
        // Add your handling code here:
        MICurrentYieldSummary_actionPerformed(evt);
    }//GEN-LAST:event_MICurrentYieldSummary_ActionPerformed

    protected void MICurrentProjectSummary_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MICurrentProjectSummary_ActionPerformed
        // Add your handling code here:
        MICurrentProjectSummary_actionPerformed(evt);
    }//GEN-LAST:event_MICurrentProjectSummary_ActionPerformed

    protected void MIEditConfig_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MIEditConfig_ActionPerformed
        // Add your handling code here:
        MIEditConfig_actionPerformed(evt);
    }//GEN-LAST:event_MIEditConfig_ActionPerformed

    protected void exitItem_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_exitItem_ActionPerformed
        // Add your handling code here:
        exitItem_actionPerformed(evt);
    }//GEN-LAST:event_exitItem_ActionPerformed

    protected void saveAsItem_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_saveAsItem_ActionPerformed
        // Add your handling code here:
        saveAsItem_actionPerformed(evt);
    }//GEN-LAST:event_saveAsItem_ActionPerformed

    protected void saveItem_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_saveItem_ActionPerformed
        // Add your handling code here:
        saveItem_actionPerformed(evt);
    }//GEN-LAST:event_saveItem_ActionPerformed

    protected void openItem_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_openItem_ActionPerformed
        // Add your handling code here:
        openItem_actionPerformed(evt);
    }//GEN-LAST:event_openItem_ActionPerformed

    protected void newItem_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_newItem_ActionPerformed
        // Add your handling code here:
        newItem_actionPerformed(evt);
    }//GEN-LAST:event_newItem_ActionPerformed

    protected void exportRunItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_exportRunItemActionPerformed
        exportRunItem_actionPerformed(evt);
    }//GEN-LAST:event_exportRunItemActionPerformed

protected void M_configActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_M_configActionPerformed
MIEditConfig_actionPerformed(evt);
}//GEN-LAST:event_M_configActionPerformed

protected void JMI_mantisActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JMI_mantisActionPerformed

}//GEN-LAST:event_JMI_mantisActionPerformed

private void JB_SR_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JB_SR_ActionPerformed
    JB_SR_actionPerformed(evt);
}//GEN-LAST:event_JB_SR_ActionPerformed

private void resetProjectItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_resetProjectItemActionPerformed
    resetProjectItem_ActionPerformed(evt);
}//GEN-LAST:event_resetProjectItemActionPerformed

private void mantisButton_ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mantisButton_ActionPerformed
    JMI_mantisActionPerformed(evt);
}//GEN-LAST:event_mantisButton_ActionPerformed

private void MI_welcomWizardActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MI_welcomWizardActionPerformed
    MI_welcomWizard_actionPerformed(evt);
}//GEN-LAST:event_MI_welcomWizardActionPerformed

private void openDatabasesItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_openDatabasesItemActionPerformed
    openDatabasesItem_actionPerformed(evt);
}//GEN-LAST:event_openDatabasesItemActionPerformed

private void MI_logActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MI_logActionPerformed
    MI_log_actionPerformed(evt);
}//GEN-LAST:event_MI_logActionPerformed

private void JMI_cropsreportActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JMI_cropsreportActionPerformed
    JMI_cropsreport_actionPerformed(evt);
}//GEN-LAST:event_JMI_cropsreportActionPerformed

private void JMI_opsreportActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JMI_opsreportActionPerformed
    JMI_opsreport_actionPerformed(evt);
}//GEN-LAST:event_JMI_opsreportActionPerformed

private void JMI_manreportActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JMI_manreportActionPerformed
    JMI_manreport_actionPerformed(evt);
}//GEN-LAST:event_JMI_manreportActionPerformed
protected void JMI_opsreport_actionPerformed(java.awt.event.ActionEvent evt) {
    // TODO add your handling code here:
}
protected void JMI_cropsreport_actionPerformed(java.awt.event.ActionEvent evt) {
    
}

protected void JMI_manreport_actionPerformed(java.awt.event.ActionEvent evt) {
    // TODO add your handling code here:
}
protected void MI_log_actionPerformed(java.awt.event.ActionEvent evt) {

}

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

}

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

}

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

}
    protected void exportRunItem_actionPerformed(java.awt.event.ActionEvent evt) {

    }
    
    public void windowGainedFocus_actionPerformed(java.awt.event.WindowEvent evt) {
    }
    
    // ============ PROJECT submenu items =============
    
    /**
     * This method is invoked whenever a new project is to be created and all the 
     * "RUNS" made specific to that project will be saved in that project directory. 
     * @param event The mouse click or keyborad selection event generated when the 
     * user intends to create a new WEPS project.
     */
    public void newItem_actionPerformed(java.awt.event.ActionEvent event)
    {	// to do: code goes here.
    }

    /**
     * This method is invoked whenever a file is to be opened from the existing 
     * project directory.
     * @param event The mouse click or keyborad selection event generated when the 
     * user intends to open an existing WEPS project.
     */
    public void openItem_actionPerformed(java.awt.event.ActionEvent event)
    {	// to do: code goes here.
    }
    
    /**
     * This method is invoked whenever the data needs to be saved in a currently 
     * open project. 
     * @param event The mouse click or keyborad selection event generated when the 
     * user intends to save the data in a currently open WEPS project.
     */
    public void saveItem_actionPerformed(java.awt.event.ActionEvent event)
    {	// to do: code goes here.
    
    }

    /**
     * This method is invoked whenever the data needs to be saved in a different 
     * but a newer project. 
     * @param event The mouse click or keyborad selection event generated when the 
     * user intends to save (SaveAs) the data in a new WEPS project.
     */
    public void saveAsItem_actionPerformed(java.awt.event.ActionEvent event)
    {	// to do: code goes here.
			 
    }
	
    // ============ CONFIGURATION submenu items =============
    
    /**
     * This method is invoked whenever the user intends to set or modify the project 
     * configuration settings like the executable paths, various directory settings,
     * output settings, email details, run specifics, etc.
     * @param event The mouse click or keyborad selection event generated when the 
     * user tries to get to the configuration screen from the meu options provided 
     * in the WEPS GUi under configuration.
     */
    public void MIEditConfig_actionPerformed(java.awt.event.ActionEvent event)
    {	// to do: code goes here.
			 
    }
    
    public void deleteProjectItem_actionPerformed(java.awt.event.ActionEvent event)
    {
        // to do: code goes here.
    }
    
    public void deleteRunItem_actionPerformed(java.awt.event.ActionEvent event)
    {
        // to do: code goes here.
    }
    
    public void  deleteMgmtItem_actionPerformed(java.awt.event.ActionEvent evt) {
        // TO DO: code goes here:
     
    }
    
    public void  deleteSoilItem_actionPerformed(java.awt.event.ActionEvent evt) {
        // TO DO: code goes here:
    }


   
    
    // ============ ViewOutput CURRENT submenu items =============
    
    /**
     * This method is invoked whenever the user intends to view the current 
     * project's summary report showing project details, the details of that 
     * simulation run and the site on which the simulation was executed, its details,
     * the crop & barrier details along with the notes that were saved for that run.
     * @param event The mouse click or keyborad selection event generated when the 
     * user wants to view the current project's summary.
     */
    public void MICurrentProjectSummary_actionPerformed(java.awt.event.ActionEvent event)
    {	// to do: code goes here.
			 
    }

    /**
     * This method is invoked whenever the user intends to view the current 
     * project's "YIELD" summary report showing crop yields in different scenarios
     * for a particular rotation cycle in different rotation years. 
     * @param event The mouse click or keyborad selection event generated when the 
     * user wants to view the crop's yield summary for a particular run of a project.
     */
    public void MICurrentYieldSummary_actionPerformed(java.awt.event.ActionEvent event)
    {	// to do: code goes here.
			 
    }

    /**
     * This method is invoked whenever the user intends to view the current 
     * project's "MANAGEMENT" summary report showing all the operation's that belong
     * to that particular run of the project.
     * @param event The mouse click or keyborad selection event generated when the 
     * user wants to view all the operations & crops associated to that run.
     */
    public void MICurrentManagementSummary_actionPerformed(java.awt.event.ActionEvent event)
    {	// to do: code goes here.
				 
    }

    /**
     * This method is invoked whenever the user intends to view the current 
     * project's "OUTPUT" summary report called "Detail Report" showing all 
     * different types of outputs screens based on the specifics of each screen
     * designed earlier to be pulled out such as field or boundary loss, weather
     * or erosion details, crop, residue, bio-mass or soil surface details.
     * @param event The mouse click or keyborad selection event generated when the 
     * user selects any particular report from the choice list provided after
     * the main output screen has appeared. 
     */
    public void MICurrentRawOutput_actionPerformed(java.awt.event.ActionEvent event)
    {	// to do: code goes here.
			 
    }
	
    /**
     * This method is invoked whenever the user intends to view the current 
     * project's "OUTPUT" summary report called "Debugging Report" showing the 
     * debug screens for all the files associated to the current "WEPS Run". They
     * can be vied in a text only format.
     * @param event The mouse click or keyborad selection event generated when the 
     * user clicks under the the "ViewOutput" report the debugging report option
     * and select anny particular report from the choice list provided on the GUI
     * screen that appears.
     */
    public void MICurrentOutput_actionPerformed(java.awt.event.ActionEvent event)
    {	// to do: code goes here.
    
    }
    
    // ======== ViewOutput PREVIOUS submenu items =========
    
    /**
     * This method is invoked whenever the user intends to view the previously run 
     * project's summary report showing project details, the details of that 
     * simulation run and the site on which the simulation was executed, its details,
     * the crop & barrier details along with the notes that were saved for that run.
     * @param event The mouse click or keyborad selection event generated when the 
     * user wants to view the previous project's summary.
     */
    public void MIOtherSummary_actionPerformed(java.awt.event.ActionEvent event)
    {	// to do: code goes here.
			 
    }

    /**
     * This method is invoked whenever the user intends to view the previously run 
     * project's "YIELD" summary report showing crop yields in different scenarios
     * for a particular rotation cycle in different rotation years. 
     * @param event The mouse click or keyborad selection event generated when the 
     * user wants to view the crop's yield summary for a particular run of a project.
     */
    public void MIOtherYieldSummary_actionPerformed(java.awt.event.ActionEvent event)
    {	// to do: code goes here.
			 
    }

     /**
     * This method is invoked whenever the user intends to view the previously run 
     * project's "MANAGEMENT" summary report showing all the operation's that belong
     * to that particular run of the project.
     * @param event The mouse click or keyborad selection event generated when the 
     * user wants to view all the operations & crops associated to that run.
     */
    public void MIOtherManagementSummary_actionPerformed(java.awt.event.ActionEvent event)
    {	// to do: code goes here.
				 
    }

    /**
     * This method is invoked whenever the user intends to view the previously run 
     * project's "OUTPUT" summary report called "Detail Report" showing all 
     * different types of outputs screens based on the specifics of each screen
     * designed earlier to be pulled out such as field or boundary loss, weather
     * or erosion details, crop, residue, bio-mass or soil surface details.
     * @param event The mouse click or keyborad selection event generated when the 
     * user selects any particular report from the choice list provided after
     * the main output screen has appeared. 
     */
    public void MIOtherRawOutput_actionPerformed(java.awt.event.ActionEvent event)
    {	// to do: code goes here.
			 
    }
	
    
    /**
     * This method is invoked whenever the user intends to view the previously run 
     * project's "OUTPUT" summary report called "Debugging Report" showing the 
     * debug screens for all the files associated to the current "WEPS Run". They
     * can be vied in a text only format.
     * @param event The mouse click or keyborad selection event generated when the 
     * user clicks under the the "ViewOutput" report the debugging report option
     * and select anny particular report from the choice list provided on the GUI
     * screen that appears.
     */
    public void MIOtherOutput_actionPerformed(java.awt.event.ActionEvent event)
    {	// to do: code goes here.
    
    }
    
    // ====== Submenu of RUN =======
    
    /**
     * This method is invoked whenever the user intends to execute WEPS application 
     * making a run to visualize the GUI contents for that particularly selected operation.
     * All reports there on can be viewed using "ViewOutput" report option and more
     * research done on those wun file using the WEPS GUI options.
     * @param event The mouse click or keyborad selection event generated when the 
     * user clicks the "Run" menu option to execute a WEPS run 
     *
     */
    public void MIMakeRun_actionPerformed(java.awt.event.ActionEvent event)
    {	// to do: code goes here.

    }
    
    /**
     * This method is invoked whenever the user intends to execute WEPS application 
     * using a calibration run to visualize the GUI contents and setting for the 
     * operations that have crop information that will be used in crop rotation
     * editor for analysing various parameters and genrating different reports as 
     * needed by the WEPS/MCREW GUI user. 
     * Also all reports can be viewed using "ViewOutput" report option and more
     * research done on those run file using the WEPS GUI options.
     * @param event The mouse click or keyborad selection event generated when the 
     * user clicks the "Calibrate Run" menu option to execute a WEPS run.
     */
    public void MIMakeCalibrationRun_actionPerformed(java.awt.event.ActionEvent event) {
        // Add your handling code here:
    }
     
    
    public void MIRestoreRun_actionPerformed(java.awt.event.ActionEvent event)
    {	// to do: code goes here.
	
    }
    
    // ============ TOOLS submenu items =============
    
    /**
     * Invoked when the user intends to send an Email from the application's email 
     * option using pre-configured settings. An email screen pops up that can send 
     * attachmets such as run files or directories and project directories to the 
     * WEPS support team as bug report when a crash happens while running the 
     * application or any other query related to the application.
     * @param event The mouse click or keyborad event generated when the user clicks
     * the "Send Email" menu option to bring the Email screen up in running.
     */
    public void MISendEmail_actionPerformed(java.awt.event.ActionEvent event)
    {	// to do: code goes here.
        //System.out.println("Weps_n .. ");
	
    }
    
    // ============ HELP submenu items =============
    
    /**
     * Invoked when the user intends to get some generic help regarding WEPS 
     * application on the main screen as well as the sub screens. The details of 
     * each panel on the main scree along with the symbol information is explained
     * in the help documentation. The description on the report screens is also
     * explained there.
     * @param event The mouse click or keyborad selection event generated when the 
     * user clicks the "Help" menu option to bring the WEPS specific help.
     */
    public void MIHelpTopics_actionPerformed(java.awt.event.ActionEvent event)
    {	// to do: code goes here.
	
     }
     
    /**
     * Invoked when the user intends to get the information about the application s
     * such as its build date,release number, JRE, etc.
     * @param event The mouse click or keyborad selection event generated when the 
     * user clicks the "About" menu option to bring the application's information 
     * up on screen.
     */
    public void MI_aboutItem_actionPerformed(java.awt.event.ActionEvent event)
    {	// to do: code goes here.
	
    }
    
    /**
     * Invoked when the user intends to get the information about the application 
     * such as its build date, release number, JRE used using the toolbar button.
     * @param event The button click event generated when the user clicks the "About" 
     * button on WEPS main toolbar to bring the application's information up on screen.
     */
    public void MI_aboutButton_actionPerformed(java.awt.event.ActionEvent event)
    {
       //to do: code goes here.
    }
    
   /* void emailButton_actionPerformed(java.awt.event.ActionEvent event)
    {
		// to do: code goes here.
    }*/
    

    public void MIWindStation_actionPerformed(java.awt.event.ActionEvent event)
    {
        
    }

    /**
     * Invoked when the user intends to send an Email from the application's email 
     * option using pre-configured settings. An email screen pops up that can send 
     * attachmets such as run files or directories and project directories to the 
     * WEPS support team as bug report when a crash happens while running the 
     * application or any other query related to the application.
     * @param event The button click event generated when the user clicks
     * the "Send Email" button on the main WEPS toolbar to bring the Email screen
     * up in running.
     */

    public void MISendEmail2_actionPerformed(java.awt.event.ActionEvent event)
    {
		// to do: code goes here.
			 
    }
    
    /** 
    * This method is called when the WEPS application is to be closed by using the 
    * "Exit" option from the File menu.
    * @param evt The event generated when the " Exit" button is clicked.
    */    
    public void exitItem_actionPerformed(java.awt.event.ActionEvent event)
    {	// to do: code goes here.
			 
    }
    
    /** 
    * This method is called when the WEPS application is to be closed by using the 
    * "Exit" option from the File menu.
    * @param evt The event generated when the " Exit" menu option is clicked.
    */
    public void exitApplication(){
    }
    
    /**
     * This method is used if this dialog is rum as an independent application.
     * @param args These are the command line arguments passed to the main method
     * if and when required.
     */
    public static void main(String args[]) {
        new Weps_n().setVisible(true);
    }
    
    /**
     * This method notifies when the window or frame is resized and the components
     * need to be re-arranged so they are evenly spaced relative to each other.
     */
    public void addNotify() {
        super.addNotify();
    }    
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    public javax.swing.JButton JB_CR;
    public javax.swing.JButton JB_DR;
    public javax.swing.JButton JB_MR;
    public javax.swing.JButton JB_RR;
    public javax.swing.JButton JB_SR;
    public javax.swing.JButton JB_setRunLocation;
    public javax.swing.JMenuItem JMI_cropsreport;
    public javax.swing.JMenuItem JMI_manreport;
    public javax.swing.JMenuItem JMI_mantis;
    public javax.swing.JMenuItem JMI_opsreport;
    public javax.swing.JPanel JP_aux;
    public javax.swing.JPanel JP_bar;
    public javax.swing.JPanel JP_client;
    public javax.swing.JPanel JP_loc;
    public javax.swing.JPanel JP_main;
    public javax.swing.JPanel JP_map;
    public javax.swing.JPanel JP_not;
    public javax.swing.JPanel JP_reg;
    public javax.swing.JPanel JP_sim;
    public javax.swing.JToolBar JTB_main;
    public javax.swing.JTextField JTF_mostRecentRun;
    public javax.swing.JMenuBar MB_main;
    public javax.swing.JMenuItem MIDiff;
    public javax.swing.JMenuItem MISendEmail;
    public javax.swing.JMenuItem MIWindStation;
    public javax.swing.JMenuItem MI_aboutItem;
    public javax.swing.JMenuItem MI_currentManagementSummary;
    public javax.swing.JMenuItem MI_currentOutput;
    public javax.swing.JMenuItem MI_currentProjectSummary;
    public javax.swing.JMenuItem MI_currentRawOutput;
    public javax.swing.JMenuItem MI_currentStirEnergyReport;
    public javax.swing.JMenuItem MI_currentYieldSummary;
    public javax.swing.JMenuItem MI_editConfig;
    public javax.swing.JMenuItem MI_helpTopics;
    public javax.swing.JMenuItem MI_log;
    public javax.swing.JMenuItem MI_makeCalibrationRun;
    public javax.swing.JMenuItem MI_makeRun;
    public javax.swing.JMenuItem MI_otherManagementSummary;
    public javax.swing.JMenuItem MI_otherOutput;
    public javax.swing.JMenuItem MI_otherProjectSummary;
    public javax.swing.JMenuItem MI_otherRawOutput;
    public javax.swing.JMenuItem MI_otherStirEnergyReport;
    public javax.swing.JMenuItem MI_otherYieldSummary;
    public javax.swing.JMenuItem MI_restoreRun;
    public javax.swing.JMenuItem MI_runmanger;
    public javax.swing.JMenuItem MI_userGuide;
    public javax.swing.JMenuItem MI_welcomWizard;
    public javax.swing.JMenu M_config;
    public javax.swing.JMenu M_current;
    public javax.swing.JMenu M_dbreports;
    public javax.swing.JMenu M_help;
    public javax.swing.JMenu M_other;
    public javax.swing.JMenu M_output;
    public javax.swing.JMenu M_project;
    public javax.swing.JMenu M_run;
    public javax.swing.JMenu M_tools;
    public javax.swing.JButton aboutButton;
    public javax.swing.JPanel centerColumnPanel;
    public javax.swing.JPanel columnsPanel;
    public javax.swing.JMenuItem deleteMgmtItem;
    public javax.swing.JMenuItem deleteProjectItem;
    public javax.swing.JMenuItem deleteRunItem;
    public javax.swing.JMenuItem deleteSoilItem;
    public javax.swing.JButton emailButton;
    public javax.swing.JMenuItem exitItem;
    public javax.swing.JMenuItem exportRunItem;
    public javax.swing.JLabel g_runlocation;
    public javax.swing.JButton helpButton;
    public javax.swing.JLabel jLabel2;
    public javax.swing.JPopupMenu.Separator jSeparator1;
    public javax.swing.JPanel leftColumnPanel;
    public javax.swing.JButton loadrunButton;
    public javax.swing.JButton mantisButton;
    public javax.swing.JButton newButton;
    public javax.swing.JMenuItem newItem;
    public javax.swing.JButton openButton;
    public javax.swing.JMenuItem openDatabasesItem;
    public javax.swing.JMenuItem openItem;
    public javax.swing.JMenuItem resetProjectItem;
    public javax.swing.JPanel rightColumnPanel;
    public javax.swing.JButton runButton;
    public javax.swing.JButton runCalButton;
    public javax.swing.JPanel runLocationPanel;
    public javax.swing.JMenuItem saveAsItem;
    public javax.swing.JButton saveButton;
    public javax.swing.JMenuItem saveItem;
    public javax.swing.JScrollPane scrollPane;
    public javax.swing.JMenuItem setRunLocation;
    // End of variables declaration//GEN-END:variables
    
}
