/*
 * WindGen_n.java
 *
 * Created on July 25, 2005, 1:52 PM
 */

package usda.weru.erosion.gui;

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

        JP_main = new javax.swing.JPanel();
        JB_prev = new javax.swing.JButton();
        jLabel3 = new javax.swing.JLabel();
        JCB_month = new javax.swing.JComboBox<String>();
        JB_next = new javax.swing.JButton();
        jLabel1 = new javax.swing.JLabel();
        JL_stationName = new javax.swing.JLabel();
        jcTable = new com.klg.jclass.table.beans.LiveTable();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("Wind Generator Station Data Display");
        setMaximizedBounds(new java.awt.Rectangle(0, 0, 500, 300));
        addComponentListener(new java.awt.event.ComponentAdapter() {
            public void componentResized(java.awt.event.ComponentEvent evt) {
                formComponentResized(evt);
            }
        });

        JB_prev.setText("<<");
        JB_prev.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JB_prevActionPerformed(evt);
            }
        });
        JP_main.add(JB_prev);

        jLabel3.setText("    Month");
        JP_main.add(jLabel3);

        JCB_month.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" }));
        JCB_month.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JCB_monthActionPerformed(evt);
            }
        });
        JP_main.add(JCB_month);

        JB_next.setText(">>");
        JB_next.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JB_nextActionPerformed(evt);
            }
        });
        JP_main.add(JB_next);

        jLabel1.setText("Station Name");
        JP_main.add(jLabel1);

        JL_stationName.setText("jLabel2");
        JP_main.add(JL_stationName);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jcTable, javax.swing.GroupLayout.DEFAULT_SIZE, 723, Short.MAX_VALUE)
                    .addComponent(JP_main, javax.swing.GroupLayout.DEFAULT_SIZE, 723, Short.MAX_VALUE))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(1, 1, 1)
                .addComponent(JP_main, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jcTable, javax.swing.GroupLayout.PREFERRED_SIZE, 137, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(61, 61, 61))
        );

        setSize(new java.awt.Dimension(751, 235));
        setLocationRelativeTo(null);
    }// </editor-fold>//GEN-END:initComponents

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

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

    protected void formComponentResized(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_formComponentResized
    }//GEN-LAST:event_formComponentResized

    protected void JCB_monthActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JCB_monthActionPerformed
    }//GEN-LAST:event_JCB_monthActionPerformed
    
    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            @Override
            public void run() {
                new WindDisp_n().setVisible(true);
            }
        });
    }
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    protected javax.swing.JButton JB_next;
    protected javax.swing.JButton JB_prev;
    public javax.swing.JComboBox<String> JCB_month;
    public javax.swing.JLabel JL_stationName;
    protected javax.swing.JPanel JP_main;
    protected javax.swing.JLabel jLabel1;
    protected javax.swing.JLabel jLabel3;
    public com.klg.jclass.table.beans.LiveTable jcTable;
    // End of variables declaration//GEN-END:variables
    
}
