/*
 * ResetRunLocationPanel_n.java
 *
 * Created on August 15, 2006, 11:08 AM
 */
package usda.weru.util.gui;

/**
 *
 * @author  joelevin
 */
public class ResetRunLocationPanel_n extends javax.swing.JPanel {

    private static final long serialVersionUID = 1L;

    /** Creates new form ResetRunLocationPanel_n */
    public ResetRunLocationPanel_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() {

        g_resetButton = new javax.swing.JButton();
        g_textLabel = new javax.swing.JLabel();

        g_resetButton.setText("Reset to Default");
        g_resetButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                g_resetButtonActionPerformed(evt);
            }
        });

        g_textLabel.setFont(new java.awt.Font("Dialog", 0, 10)); // NOI18N
        g_textLabel.setText("<html>Each WEPS project stores runs in a run location.  This location may be set on a per project basis.  The button below will reset this project's run location to the configured system default.  This default may be changed from within the configuration panel.</html>");
        g_textLabel.setVerticalAlignment(javax.swing.SwingConstants.TOP);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(g_textLabel, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 153, Short.MAX_VALUE)
                    .addComponent(g_resetButton, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 153, Short.MAX_VALUE))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addComponent(g_textLabel)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(g_resetButton))
        );
    }// </editor-fold>//GEN-END:initComponents

    private void g_resetButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_g_resetButtonActionPerformed
        resetButtonActionPerformed(evt);
    }//GEN-LAST:event_g_resetButtonActionPerformed

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

    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    protected javax.swing.JButton g_resetButton;
    protected javax.swing.JLabel g_textLabel;
    // End of variables declaration//GEN-END:variables

}
