package nxm.sys.test;

/** Test for Dragbox triggering high res FFT
 *  @author Jeanette McCall
 */
public class test_dragbox_highres_fft extends javax.swing.JFrame {

  private static final long serialVersionUID = -3696557643804503261L;

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

    main = new javax.swing.ButtonGroup();
    jPanel1 = new javax.swing.JPanel();
    jPanel3 = new javax.swing.JPanel();
    jPanel2 = new javax.swing.JPanel();
    pass = new javax.swing.JButton();
    fail = new javax.swing.JButton();
    jLabel1 = new javax.swing.JLabel();
    jScrollPane1 = new javax.swing.JScrollPane();
    jTextArea1 = new javax.swing.JTextArea();
    jPanel4 = new javax.swing.JPanel();
    plotLowResRaster = new nxm.sys.libg.MidasDisplay();
    plotHighResRaster = new nxm.sys.libg.MidasDisplay();

    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

    jPanel1.setLayout(new java.awt.BorderLayout());

    jPanel3.setLayout(new java.awt.BorderLayout());

    jPanel2.setLayout(new java.awt.GridLayout(2, 1));

    pass.setForeground(new java.awt.Color(0, 102, 0));
    pass.setText("PASS");
    main.add(pass);
    jPanel2.add(pass);

    fail.setForeground(new java.awt.Color(153, 0, 0));
    fail.setText("FAIL");
    main.add(fail);
    jPanel2.add(fail);

    jPanel3.add(jPanel2, java.awt.BorderLayout.EAST);

    jLabel1.setText("Exit with Status:  ");
    jPanel3.add(jLabel1, java.awt.BorderLayout.WEST);

    jPanel1.add(jPanel3, java.awt.BorderLayout.NORTH);

    jTextArea1.setColumns(20);
    jTextArea1.setLineWrap(true);
    jTextArea1.setRows(5);
    jTextArea1.setText("1) Draw a DRAGBOX in the top plot. "
        + "\n\n2) A High Resolution of that area should show in the bottom plot ");
    jTextArea1.setWrapStyleWord(true);
    jScrollPane1.setViewportView(jTextArea1);

    jPanel1.add(jScrollPane1, java.awt.BorderLayout.CENTER);

    getContentPane().add(jPanel1, java.awt.BorderLayout.WEST);

    jPanel4.setLayout(new java.awt.GridLayout(2, 1));

    plotLowResRaster.setMinimumSize(new java.awt.Dimension(500, 300));
    plotLowResRaster.setPreferredSize(new java.awt.Dimension(500, 300));
    jPanel4.add(plotLowResRaster);

    plotHighResRaster.setMinimumSize(new java.awt.Dimension(500, 300));
    plotHighResRaster.setPreferredSize(new java.awt.Dimension(500, 300));
    jPanel4.add(plotHighResRaster);

    getContentPane().add(jPanel4, java.awt.BorderLayout.CENTER);

    setTitle("TEST_DRAGBOX_TO_HIGHRES_FFT");

    pack();
  }// </editor-fold>//GEN-END:initComponents

  // Variables declaration - do not modify//GEN-BEGIN:variables
  /** The FAIL button */
  private javax.swing.JButton fail;
  /** The Main Exit status label */
  private javax.swing.JLabel jLabel1;
  /** The left panel panel containing the status panel and scroll pane */
  private javax.swing.JPanel jPanel1;
  /** The button panel containing the PASS/FAIL buttons */
  private javax.swing.JPanel jPanel2;
  /** The status panel containing the button panel and status label */
  private javax.swing.JPanel jPanel3;
  /** The plot panel containing both raster plots */
  private javax.swing.JPanel jPanel4;
  /** The scrollable pane area containing the text area with test instructions */
  private javax.swing.JScrollPane jScrollPane1;
  /** The text area containing the test instructions */
  private javax.swing.JTextArea jTextArea1;
  /** The Main button group containing the PASS/FAIL buttons */
  private javax.swing.ButtonGroup main;
  /** The PASS button */
  private javax.swing.JButton pass;
  /** The display for the low-resolution raster plot (the top plot) */
  private nxm.sys.libg.MidasDisplay plotLowResRaster;
  /** The display for the high-resolution raster plot (the bottom plot) */
  private nxm.sys.libg.MidasDisplay plotHighResRaster;
  // End of variables declaration//GEN-END:variables
}
