/*
 * DifferFrame_n.java
 *
 * Created on May 30, 2006, 12:31 PM
 */
package usda.weru.util.gui;

import usda.weru.util.About;

/**
 *
 * @author  Joseph Levin
 */
public class DifferFrame_n extends javax.swing.JFrame {

    private static final long serialVersionUID = 1L;

    /**
     * Creates new form DifferFrame_n
     */
    public DifferFrame_n() {
        initComponents();
        setIconImage (About.getWeruIconImage());
        g_progressBar.setVisible(false);
    }

    /** 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() {

        JBP_matchBoolean = new javax.swing.ButtonGroup();
        JP_tabs = new javax.swing.JTabbedPane();
        JP_files = new javax.swing.JPanel();
        JL_fileA = new javax.swing.JLabel();
        JB_compare = new javax.swing.JButton();
        JTF_pathFileA = new javax.swing.JTextField();
        JB_browseFileA = new javax.swing.JButton();
        JL_typeFileA = new javax.swing.JLabel();
        JL_fileB = new javax.swing.JLabel();
        JTF_pathFileB = new javax.swing.JTextField();
        JL_typeFileB = new javax.swing.JLabel();
        JB_browseFileB = new javax.swing.JButton();
        JB_swap = new javax.swing.JButton();
        JP_options = new javax.swing.JPanel();
        jPanel1 = new javax.swing.JPanel();
        JC_matchDate = new javax.swing.JCheckBox();
        JC_matchAnd = new javax.swing.JRadioButton();
        JC_matchOr = new javax.swing.JRadioButton();
        JC_matchOperation = new javax.swing.JCheckBox();
        JC_matchCrop = new javax.swing.JCheckBox();
        JP_filters = new javax.swing.JPanel();
        JC_filterSame = new javax.swing.JCheckBox();
        JC_filterAdded = new javax.swing.JCheckBox();
        JC_filterRemoved = new javax.swing.JCheckBox();
        JC_filterChanged = new javax.swing.JCheckBox();
        JP_table = new javax.swing.JPanel();
        c_table = new usda.weru.util.diff.table.DiffTable();
        g_progressBar = new javax.swing.JPanel();
        g_progressBarInner = new javax.swing.JProgressBar();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("WEPS Diff");

        JL_fileA.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        JL_fileA.setText("File A:");

        JB_compare.setText("Compare Files");
        JB_compare.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JB_compareActionPerformed(evt);
            }
        });

        JTF_pathFileA.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JTF_pathFileAActionPerformed(evt);
            }
        });
        JTF_pathFileA.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                JTF_pathFileAFocusLost(evt);
            }
        });

        JB_browseFileA.setIcon(new javax.swing.ImageIcon(getClass().getResource("/usda/weru/resources/folder.gif"))); // NOI18N
        JB_browseFileA.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JB_browseFileAActionPerformed(evt);
            }
        });

        JL_typeFileA.setFont(new java.awt.Font("Tahoma", 0, 10)); // NOI18N
        JL_typeFileA.setText(" ");

        JL_fileB.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        JL_fileB.setText("File B:");

        JTF_pathFileB.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JTF_pathFileBActionPerformed(evt);
            }
        });
        JTF_pathFileB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                JTF_pathFileBFocusLost(evt);
            }
        });

        JL_typeFileB.setFont(new java.awt.Font("Tahoma", 0, 10)); // NOI18N
        JL_typeFileB.setText(" ");

        JB_browseFileB.setIcon(new javax.swing.ImageIcon(getClass().getResource("/usda/weru/resources/folder.gif"))); // NOI18N
        JB_browseFileB.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JB_browseFileBActionPerformed(evt);
            }
        });

        JB_swap.setIcon(new javax.swing.ImageIcon(getClass().getResource("/usda/weru/resources/swap.gif"))); // NOI18N
        JB_swap.setText("Swap File Names");
        JB_swap.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JB_swapActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout JP_filesLayout = new javax.swing.GroupLayout(JP_files);
        JP_files.setLayout(JP_filesLayout);
        JP_filesLayout.setHorizontalGroup(
            JP_filesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(JP_filesLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(JP_filesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(JP_filesLayout.createSequentialGroup()
                        .addGroup(JP_filesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(JL_fileA)
                            .addComponent(JL_fileB))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(JP_filesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(JTF_pathFileA, javax.swing.GroupLayout.DEFAULT_SIZE, 520, Short.MAX_VALUE)
                            .addComponent(JL_typeFileA, javax.swing.GroupLayout.DEFAULT_SIZE, 520, Short.MAX_VALUE)
                            .addComponent(JTF_pathFileB, javax.swing.GroupLayout.DEFAULT_SIZE, 520, Short.MAX_VALUE)
                            .addComponent(JL_typeFileB, javax.swing.GroupLayout.PREFERRED_SIZE, 482, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(JP_filesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(JB_browseFileB)
                            .addComponent(JB_browseFileA)))
                    .addGroup(JP_filesLayout.createSequentialGroup()
                        .addComponent(JB_compare)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(JB_swap)))
                .addContainerGap())
        );
        JP_filesLayout.setVerticalGroup(
            JP_filesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(JP_filesLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(JP_filesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(JP_filesLayout.createSequentialGroup()
                        .addGroup(JP_filesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(JL_fileA)
                            .addComponent(JTF_pathFileA, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(1, 1, 1)
                        .addComponent(JL_typeFileA)
                        .addGap(10, 10, 10)
                        .addGroup(JP_filesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(JL_fileB)
                            .addComponent(JTF_pathFileB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(0, 0, 0)
                        .addComponent(JL_typeFileB)
                        .addGap(10, 10, 10)
                        .addGroup(JP_filesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(JB_compare)
                            .addComponent(JB_swap)))
                    .addGroup(JP_filesLayout.createSequentialGroup()
                        .addComponent(JB_browseFileA, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(23, 23, 23)
                        .addComponent(JB_browseFileB, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(31, Short.MAX_VALUE))
        );

        JP_tabs.addTab("Files", JP_files);

        jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder("Match Operations On"));

        JC_matchDate.setSelected(true);
        JC_matchDate.setText("Operation Date");
        JC_matchDate.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
        JC_matchDate.setMargin(new java.awt.Insets(0, 0, 0, 0));

        JBP_matchBoolean.add(JC_matchAnd);
        JC_matchAnd.setSelected(true);
        JC_matchAnd.setText("AND");
        JC_matchAnd.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
        JC_matchAnd.setMargin(new java.awt.Insets(0, 0, 0, 0));

        JBP_matchBoolean.add(JC_matchOr);
        JC_matchOr.setText("OR");
        JC_matchOr.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
        JC_matchOr.setMargin(new java.awt.Insets(0, 0, 0, 0));

        JC_matchOperation.setSelected(true);
        JC_matchOperation.setText("Operation Name");
        JC_matchOperation.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
        JC_matchOperation.setMargin(new java.awt.Insets(0, 0, 0, 0));

        JC_matchCrop.setText("Crop Name");
        JC_matchCrop.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
        JC_matchCrop.setMargin(new java.awt.Insets(0, 0, 0, 0));

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(JC_matchDate)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(JC_matchOperation)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(JC_matchCrop))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(JC_matchAnd)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(JC_matchOr)))
                .addContainerGap(327, Short.MAX_VALUE))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(JC_matchDate)
                    .addComponent(JC_matchOperation)
                    .addComponent(JC_matchCrop))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(JC_matchAnd)
                    .addComponent(JC_matchOr)))
        );

        javax.swing.GroupLayout JP_optionsLayout = new javax.swing.GroupLayout(JP_options);
        JP_options.setLayout(JP_optionsLayout);
        JP_optionsLayout.setHorizontalGroup(
            JP_optionsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(JP_optionsLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        JP_optionsLayout.setVerticalGroup(
            JP_optionsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(JP_optionsLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(81, Short.MAX_VALUE))
        );

        JP_tabs.addTab("Options", JP_options);

        JP_filters.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Display Filter"));

        JC_filterSame.setText("SAME");
        JC_filterSame.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
        JC_filterSame.setMargin(new java.awt.Insets(0, 0, 0, 0));
        JC_filterSame.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JC_filterSameActionPerformed(evt);
            }
        });

        JC_filterAdded.setSelected(true);
        JC_filterAdded.setText("ADDED");
        JC_filterAdded.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
        JC_filterAdded.setMargin(new java.awt.Insets(0, 0, 0, 0));
        JC_filterAdded.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JC_filterAddedActionPerformed(evt);
            }
        });

        JC_filterRemoved.setSelected(true);
        JC_filterRemoved.setText("REMOVED");
        JC_filterRemoved.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
        JC_filterRemoved.setMargin(new java.awt.Insets(0, 0, 0, 0));
        JC_filterRemoved.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JC_filterRemovedActionPerformed(evt);
            }
        });

        JC_filterChanged.setSelected(true);
        JC_filterChanged.setText("CHANGED");
        JC_filterChanged.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
        JC_filterChanged.setMargin(new java.awt.Insets(0, 0, 0, 0));
        JC_filterChanged.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JC_filterChangedActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout JP_filtersLayout = new javax.swing.GroupLayout(JP_filters);
        JP_filters.setLayout(JP_filtersLayout);
        JP_filtersLayout.setHorizontalGroup(
            JP_filtersLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(JP_filtersLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(JC_filterSame)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(JC_filterAdded)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(JC_filterRemoved)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(JC_filterChanged)
                .addContainerGap(377, Short.MAX_VALUE))
        );
        JP_filtersLayout.setVerticalGroup(
            JP_filtersLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(JP_filtersLayout.createSequentialGroup()
                .addGroup(JP_filtersLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(JC_filterSame)
                    .addComponent(JC_filterAdded)
                    .addComponent(JC_filterRemoved)
                    .addComponent(JC_filterChanged))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        JP_table.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        c_table.addComponentListener(new java.awt.event.ComponentAdapter() {
            public void componentResized(java.awt.event.ComponentEvent evt) {
                c_tableComponentResized(evt);
            }
        });

        javax.swing.GroupLayout JP_tableLayout = new javax.swing.GroupLayout(JP_table);
        JP_table.setLayout(JP_tableLayout);
        JP_tableLayout.setHorizontalGroup(
            JP_tableLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(c_table, javax.swing.GroupLayout.DEFAULT_SIZE, 639, Short.MAX_VALUE)
        );
        JP_tableLayout.setVerticalGroup(
            JP_tableLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(c_table, javax.swing.GroupLayout.DEFAULT_SIZE, 218, Short.MAX_VALUE)
        );

        g_progressBar.setLayout(new javax.swing.BoxLayout(g_progressBar, javax.swing.BoxLayout.LINE_AXIS));

        g_progressBarInner.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        g_progressBarInner.setDoubleBuffered(true);
        g_progressBarInner.setFocusable(false);
        g_progressBarInner.setIndeterminate(true);
        g_progressBarInner.setString("Please wait while comparing files...");
        g_progressBarInner.setStringPainted(true);
        g_progressBar.add(g_progressBarInner);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().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(JP_table, javax.swing.GroupLayout.Alignment.LEADING, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(g_progressBar, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 643, Short.MAX_VALUE)
                    .addComponent(JP_filters, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(JP_tabs, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 643, Short.MAX_VALUE))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(JP_tabs, javax.swing.GroupLayout.PREFERRED_SIZE, 179, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(JP_filters, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(3, 3, 3)
                .addComponent(JP_table, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(g_progressBar, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );

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

    private void JB_swapActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JB_swapActionPerformed
        JB_swap_actionPerformed(evt);
    }//GEN-LAST:event_JB_swapActionPerformed

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

    }

    private void c_tableComponentResized(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_c_tableComponentResized
        c_table_componentResized(evt);
    }//GEN-LAST:event_c_tableComponentResized
    protected void c_table_componentResized(java.awt.event.ComponentEvent evt) {

    }
    private void JC_filterChangedActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JC_filterChangedActionPerformed
        JC_filterChanged_actionPerformed(evt);
    }//GEN-LAST:event_JC_filterChangedActionPerformed

    private void JC_filterRemovedActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JC_filterRemovedActionPerformed
        JC_filterRemoved_actionPerformed(evt);
    }//GEN-LAST:event_JC_filterRemovedActionPerformed

    private void JC_filterAddedActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JC_filterAddedActionPerformed
        JC_filterAdded_actionPerformed(evt);
    }//GEN-LAST:event_JC_filterAddedActionPerformed

    private void JC_filterSameActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JC_filterSameActionPerformed
        JC_filterSame_actionPerformed(evt);
    }//GEN-LAST:event_JC_filterSameActionPerformed

    private void JB_compareActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JB_compareActionPerformed
        JB_compare_actionPerformed(evt);
    }//GEN-LAST:event_JB_compareActionPerformed

    private void JTF_pathFileBFocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_JTF_pathFileBFocusLost
        JTF_pathFileB_focusLost(evt);
    }//GEN-LAST:event_JTF_pathFileBFocusLost

    private void JTF_pathFileBActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JTF_pathFileBActionPerformed
        JTF_pathFileB_actionPerformed(evt);
    }//GEN-LAST:event_JTF_pathFileBActionPerformed

    private void JTF_pathFileAFocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_JTF_pathFileAFocusLost
        JTF_pathFileA_focusLost(evt);
    }//GEN-LAST:event_JTF_pathFileAFocusLost

    private void JTF_pathFileAActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JTF_pathFileAActionPerformed
        JTF_pathFileA_actionPerformed(evt);
    }//GEN-LAST:event_JTF_pathFileAActionPerformed

    private void JB_browseFileBActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JB_browseFileBActionPerformed
        JB_browseFileB_actionPerformed(evt);
    }//GEN-LAST:event_JB_browseFileBActionPerformed

    private void JB_browseFileAActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JB_browseFileAActionPerformed
        JB_browseFileA_actionPerformed(evt);
    }//GEN-LAST:event_JB_browseFileAActionPerformed

//Protected Methods
    protected void JC_filterChanged_actionPerformed(java.awt.event.ActionEvent evt) {
    }

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

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

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

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

    protected void JTF_pathFileB_focusLost(java.awt.event.FocusEvent evt) {
    }

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

    protected void JTF_pathFileA_focusLost(java.awt.event.FocusEvent evt) {
    }

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

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

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

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            @Override
            public void run() {
                new DifferFrame_n().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    protected javax.swing.ButtonGroup JBP_matchBoolean;
    protected javax.swing.JButton JB_browseFileA;
    protected javax.swing.JButton JB_browseFileB;
    protected javax.swing.JButton JB_compare;
    protected javax.swing.JButton JB_swap;
    protected javax.swing.JCheckBox JC_filterAdded;
    protected javax.swing.JCheckBox JC_filterChanged;
    protected javax.swing.JCheckBox JC_filterRemoved;
    protected javax.swing.JCheckBox JC_filterSame;
    protected javax.swing.JRadioButton JC_matchAnd;
    protected javax.swing.JCheckBox JC_matchCrop;
    protected javax.swing.JCheckBox JC_matchDate;
    protected javax.swing.JCheckBox JC_matchOperation;
    protected javax.swing.JRadioButton JC_matchOr;
    protected javax.swing.JLabel JL_fileA;
    protected javax.swing.JLabel JL_fileB;
    protected javax.swing.JLabel JL_typeFileA;
    protected javax.swing.JLabel JL_typeFileB;
    protected javax.swing.JPanel JP_files;
    protected javax.swing.JPanel JP_filters;
    protected javax.swing.JPanel JP_options;
    protected javax.swing.JPanel JP_table;
    protected javax.swing.JTabbedPane JP_tabs;
    protected javax.swing.JTextField JTF_pathFileA;
    protected javax.swing.JTextField JTF_pathFileB;
    protected usda.weru.util.diff.table.DiffTable c_table;
    protected javax.swing.JPanel g_progressBar;
    protected javax.swing.JProgressBar g_progressBarInner;
    protected javax.swing.JPanel jPanel1;
    // End of variables declaration//GEN-END:variables

}
