package usda.weru.mcrew.gui;

import java.awt.event.ActionEvent;
import java.awt.event.FocusEvent;

/**
 *
 * @author jonathanhornbaker
 */
public class ComboTable_n extends javax.swing.JPanel {
    
    public static final long serialVersionUID = 4334L;

    /**
     * Creates new form ComboTable
     */
    public ComboTable_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")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        JP_toolBar = new javax.swing.JPanel();
        JTB_main = new javax.swing.JToolBar();
        JB_new = new javax.swing.JButton();
        JB_open = new javax.swing.JButton();
        JB_save = new javax.swing.JButton();
        JB_cut = new javax.swing.JButton();
        JB_copy = new javax.swing.JButton();
        JB_paste = new javax.swing.JButton();
        JB_sort = new javax.swing.JButton();
        JB_cycleFwd = new javax.swing.JButton();
        JB_cycleBwd = new javax.swing.JButton();
        JTB_view = new javax.swing.JToolBar();
        JB_notes = new javax.swing.JButton();
        JL_yrofRot = new javax.swing.JLabel();
        JTF_rotYears = new javax.swing.JTextField();
        JSP_rotFile = new javax.swing.JScrollPane();
        JP_rotationFile = new javax.swing.JPanel();
        JL_rotation1 = new javax.swing.JLabel();
        JL_rotation2 = new javax.swing.JLabel();
        JP_main = new javax.swing.JPanel();

        setPreferredSize(new java.awt.Dimension(997, 280));
        setLayout(null);

        JP_toolBar.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        JP_toolBar.setToolTipText("Weps:toolbar");
        JP_toolBar.setLayout(null);

        JTB_main.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        JTB_main.setFloatable(false);
        JTB_main.setToolTipText("Weps:toolbar");
        JTB_main.setAlignmentY(0.473684F);
        JTB_main.setDoubleBuffered(true);

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

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

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

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

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

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

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

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

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

        JTB_view.setBorder(null);
        JTB_view.setFloatable(false);
        JTB_main.add(JTB_view);

        JB_notes.setIcon(new javax.swing.ImageIcon(getClass().getResource("/usda/weru/resources/pencil_18.gif"))); // NOI18N
        JB_notes.setToolTipText("Notes :Current Management file related information");
        JB_notes.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                NotesJB_actionPerformed(evt);
            }
        });
        JTB_main.add(JB_notes);

        JP_toolBar.add(JTB_main);
        JTB_main.setBounds(0, 0, 510, 30);

        JL_yrofRot.setText("Years in Rotation:");
        JL_yrofRot.setToolTipText("Toolbar:yrsinrot");
        JP_toolBar.add(JL_yrofRot);
        JL_yrofRot.setBounds(600, 10, 100, 20);

        JTF_rotYears.setHorizontalAlignment(javax.swing.JTextField.LEFT);
        JTF_rotYears.setToolTipText("Toolbar:yrsinrot");
        JTF_rotYears.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                RotYearsJT_focusLost(evt);
            }
        });
        JTF_rotYears.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                RotYearsJT_actionPerformed(evt);
            }
        });
        JP_toolBar.add(JTF_rotYears);
        JTF_rotYears.setBounds(710, 10, 60, 20);

        add(JP_toolBar);
        JP_toolBar.setBounds(0, 0, 780, 32);

        JSP_rotFile.setBorder(null);
        JSP_rotFile.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);
        JSP_rotFile.setMinimumSize(new java.awt.Dimension(800, 30));
        JSP_rotFile.setPreferredSize(new java.awt.Dimension(800, 40));

        JP_rotationFile.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        JP_rotationFile.setToolTipText("Toolbar:rotation");

        JL_rotation1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        JL_rotation1.setText("Rotation :");
        JL_rotation1.setToolTipText("Toolbar:rotation");
        JL_rotation1.setDebugGraphicsOptions(javax.swing.DebugGraphics.NONE_OPTION);
        JL_rotation1.setRequestFocusEnabled(false);
        JL_rotation1.setVerifyInputWhenFocusTarget(false);

        JL_rotation2.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        JL_rotation2.setText("Untitled");
        JL_rotation2.setToolTipText("Toolbar:rotation");
        JL_rotation2.setHorizontalTextPosition(javax.swing.SwingConstants.LEFT);
        JL_rotation2.setMaximumSize(new java.awt.Dimension(0, 25));
        JL_rotation2.setMinimumSize(null);
        JL_rotation2.setPreferredSize(null);
        JL_rotation2.setRequestFocusEnabled(false);

        javax.swing.GroupLayout JP_rotationFileLayout = new javax.swing.GroupLayout(JP_rotationFile);
        JP_rotationFile.setLayout(JP_rotationFileLayout);
        JP_rotationFileLayout.setHorizontalGroup(
            JP_rotationFileLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(JP_rotationFileLayout.createSequentialGroup()
                .addComponent(JL_rotation1, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(JL_rotation2, javax.swing.GroupLayout.DEFAULT_SIZE, 686, Short.MAX_VALUE)
                .addContainerGap())
        );
        JP_rotationFileLayout.setVerticalGroup(
            JP_rotationFileLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(JP_rotationFileLayout.createSequentialGroup()
                .addGap(1, 1, 1)
                .addGroup(JP_rotationFileLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(JL_rotation1, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(JL_rotation2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(17, 17, 17))
        );

        JSP_rotFile.setViewportView(JP_rotationFile);

        add(JSP_rotFile);
        JSP_rotFile.setBounds(10, 40, 770, 40);

        JP_main.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        JP_main.setToolTipText("MCREWtable:table");
        JP_main.setLayout(new java.awt.BorderLayout());
        add(JP_main);
        JP_main.setBounds(10, 90, 700, 450);
    }// </editor-fold>//GEN-END:initComponents

    protected void NewJB_actionPerformed(ActionEvent evt){}
    protected void OpenJB_actionPerformed(ActionEvent evt){}
    protected void SaveJB_actionPerformed(ActionEvent evt){}
    protected void CutJB_actionPerformed(ActionEvent evt){}
    protected void CopyJB_actionPerformed(ActionEvent evt){}
    protected void PasteJB_actionPerformed(ActionEvent evt){}
    protected void SortJB_actionPerformed(ActionEvent evt){}
    protected void JB_cycleFwd_ActionPerformed(ActionEvent evt){}
    protected void JB_cycleBwd_ActionPerformed(ActionEvent evt){}
    protected void NotesJB_actionPerformed(ActionEvent evt){}
    protected void RotYearsJT_focusLost(FocusEvent evt){}
    protected void RotYearsJT_actionPerformed(ActionEvent evt){}
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    public javax.swing.JButton JB_copy;
    public javax.swing.JButton JB_cut;
    protected javax.swing.JButton JB_cycleBwd;
    protected javax.swing.JButton JB_cycleFwd;
    protected javax.swing.JButton JB_new;
    protected javax.swing.JButton JB_notes;
    public javax.swing.JButton JB_open;
    public javax.swing.JButton JB_paste;
    public javax.swing.JButton JB_save;
    public javax.swing.JButton JB_sort;
    public javax.swing.JLabel JL_rotation1;
    public javax.swing.JLabel JL_rotation2;
    public javax.swing.JLabel JL_yrofRot;
    public javax.swing.JPanel JP_main;
    public javax.swing.JPanel JP_rotationFile;
    public javax.swing.JPanel JP_toolBar;
    public javax.swing.JScrollPane JSP_rotFile;
    public javax.swing.JToolBar JTB_main;
    protected javax.swing.JToolBar JTB_view;
    public javax.swing.JTextField JTF_rotYears;
    // End of variables declaration//GEN-END:variables
}
