package nxm.sys.test;

/** Sample Swing JFrame for SD360 macro for %test_panel_jsetup.

    @author Neon Ngo
 */
@SuppressWarnings("serial")
public class test_panel_jsetup extends javax.swing.JFrame {

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

    pane0 = new nxm.sys.libg.MidasControls();
    plot1 = new nxm.sys.libg.MidasDisplay();
    plot2 = new nxm.sys.libg.MidasDisplay();

    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    setBounds(new java.awt.Rectangle(290, 25, 500, 250));

    javax.swing.GroupLayout pane0Layout = new javax.swing.GroupLayout(pane0);
    pane0.setLayout(pane0Layout);
    pane0Layout.setHorizontalGroup(
      pane0Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 179, Short.MAX_VALUE)
    );
    pane0Layout.setVerticalGroup(
      pane0Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 310, Short.MAX_VALUE)
    );

    javax.swing.GroupLayout plot1Layout = new javax.swing.GroupLayout(plot1);
    plot1.setLayout(plot1Layout);
    plot1Layout.setHorizontalGroup(
      plot1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 312, Short.MAX_VALUE)
    );
    plot1Layout.setVerticalGroup(
      plot1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 134, Short.MAX_VALUE)
    );

    javax.swing.GroupLayout plot2Layout = new javax.swing.GroupLayout(plot2);
    plot2.setLayout(plot2Layout);
    plot2Layout.setHorizontalGroup(
      plot2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 312, Short.MAX_VALUE)
    );
    plot2Layout.setVerticalGroup(
      plot2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 158, Short.MAX_VALUE)
    );

    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(
      layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGroup(layout.createSequentialGroup()
        .addComponent(pane0, javax.swing.GroupLayout.PREFERRED_SIZE, 179, javax.swing.GroupLayout.PREFERRED_SIZE)
        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
          .addComponent(plot2, javax.swing.GroupLayout.DEFAULT_SIZE, 312, Short.MAX_VALUE)
          .addComponent(plot1, javax.swing.GroupLayout.DEFAULT_SIZE, 312, Short.MAX_VALUE))
        .addContainerGap())
    );
    layout.setVerticalGroup(
      layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGroup(layout.createSequentialGroup()
        .addComponent(plot1, javax.swing.GroupLayout.PREFERRED_SIZE, 134, javax.swing.GroupLayout.PREFERRED_SIZE)
        .addGap(18, 18, 18)
        .addComponent(plot2, javax.swing.GroupLayout.DEFAULT_SIZE, 158, Short.MAX_VALUE))
      .addComponent(pane0, javax.swing.GroupLayout.DEFAULT_SIZE, 310, Short.MAX_VALUE)
    );

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

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

  // Variables declaration - do not modify//GEN-BEGIN:variables
  /** The sd360 settings pane containing the sd360 controls */
  private nxm.sys.libg.MidasControls pane0;
  /** The top plot */
  private nxm.sys.libg.MidasDisplay plot1;
  /** The bottom plot */
  private nxm.sys.libg.MidasDisplay plot2;
  // End of variables declaration//GEN-END:variables

}
