package nxm.train.mcr;

/** SWING GUI form layout for Graphics Lab 2 created with NetBeans GUI Builder
    @author Neon Ngo
    @since NeXtMidas 2.4.2
    @version $Id: graphicslab2.java,v 1.3 2012/11/14 14:03:35 ntn Exp $
 */
public class graphicslab2 extends javax.swing.JFrame {

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

    state = new javax.swing.ButtonGroup();
    plot1 = new nxm.sys.libg.MidasDisplay();
    plot2 = new nxm.sys.libg.MidasDisplay();
    plot3 = new nxm.sys.libg.MidasDisplay();
    plot4 = new nxm.sys.libg.MidasDisplay();
    list1 = new nxm.sys.libg.MidasDisplay();
    list2 = new nxm.sys.libg.MidasDisplay();
    list3 = new nxm.sys.libg.MidasDisplay();
    list4 = new nxm.sys.libg.MidasDisplay();
    exit = new javax.swing.JButton();

    setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);

    javax.swing.GroupLayout plot1Layout = new javax.swing.GroupLayout(plot1);
    plot1.setLayout(plot1Layout);
    plot1Layout.setHorizontalGroup(
      plot1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 183, Short.MAX_VALUE)
    );
    plot1Layout.setVerticalGroup(
      plot1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 193, 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, 181, Short.MAX_VALUE)
    );
    plot2Layout.setVerticalGroup(
      plot2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 193, Short.MAX_VALUE)
    );

    javax.swing.GroupLayout plot3Layout = new javax.swing.GroupLayout(plot3);
    plot3.setLayout(plot3Layout);
    plot3Layout.setHorizontalGroup(
      plot3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 154, Short.MAX_VALUE)
    );
    plot3Layout.setVerticalGroup(
      plot3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 193, Short.MAX_VALUE)
    );

    javax.swing.GroupLayout plot4Layout = new javax.swing.GroupLayout(plot4);
    plot4.setLayout(plot4Layout);
    plot4Layout.setHorizontalGroup(
      plot4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 164, Short.MAX_VALUE)
    );
    plot4Layout.setVerticalGroup(
      plot4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 193, Short.MAX_VALUE)
    );

    javax.swing.GroupLayout list1Layout = new javax.swing.GroupLayout(list1);
    list1.setLayout(list1Layout);
    list1Layout.setHorizontalGroup(
      list1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 183, Short.MAX_VALUE)
    );
    list1Layout.setVerticalGroup(
      list1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 205, Short.MAX_VALUE)
    );

    javax.swing.GroupLayout list2Layout = new javax.swing.GroupLayout(list2);
    list2.setLayout(list2Layout);
    list2Layout.setHorizontalGroup(
      list2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 181, Short.MAX_VALUE)
    );
    list2Layout.setVerticalGroup(
      list2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 205, Short.MAX_VALUE)
    );

    javax.swing.GroupLayout list3Layout = new javax.swing.GroupLayout(list3);
    list3.setLayout(list3Layout);
    list3Layout.setHorizontalGroup(
      list3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 154, Short.MAX_VALUE)
    );
    list3Layout.setVerticalGroup(
      list3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 205, Short.MAX_VALUE)
    );

    javax.swing.GroupLayout list4Layout = new javax.swing.GroupLayout(list4);
    list4.setLayout(list4Layout);
    list4Layout.setHorizontalGroup(
      list4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 167, Short.MAX_VALUE)
    );
    list4Layout.setVerticalGroup(
      list4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 205, Short.MAX_VALUE)
    );

    exit.setText("Exit");
    state.add(exit);

    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()
        .addComponent(exit)
        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
          .addComponent(plot1, javax.swing.GroupLayout.DEFAULT_SIZE, 183, Short.MAX_VALUE)
          .addComponent(list1, javax.swing.GroupLayout.PREFERRED_SIZE, 183, javax.swing.GroupLayout.PREFERRED_SIZE))
        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
          .addComponent(plot2, javax.swing.GroupLayout.DEFAULT_SIZE, 181, Short.MAX_VALUE)
          .addComponent(list2, javax.swing.GroupLayout.PREFERRED_SIZE, 181, javax.swing.GroupLayout.PREFERRED_SIZE))
        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
          .addComponent(list3, javax.swing.GroupLayout.DEFAULT_SIZE, 154, Short.MAX_VALUE)
          .addComponent(plot3, javax.swing.GroupLayout.DEFAULT_SIZE, 154, Short.MAX_VALUE))
        .addGap(7, 7, 7)
        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
          .addComponent(plot4, javax.swing.GroupLayout.PREFERRED_SIZE, 164, javax.swing.GroupLayout.PREFERRED_SIZE)
          .addComponent(list4, javax.swing.GroupLayout.PREFERRED_SIZE, 167, javax.swing.GroupLayout.PREFERRED_SIZE))
        .addContainerGap())
    );
    layout.setVerticalGroup(
      layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGroup(layout.createSequentialGroup()
        .addContainerGap()
        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
          .addComponent(plot4, javax.swing.GroupLayout.DEFAULT_SIZE, 193, Short.MAX_VALUE)
          .addComponent(plot3, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 193, Short.MAX_VALUE)
          .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
            .addComponent(exit)
            .addComponent(plot2, javax.swing.GroupLayout.DEFAULT_SIZE, 193, Short.MAX_VALUE)
            .addComponent(plot1, javax.swing.GroupLayout.DEFAULT_SIZE, 193, Short.MAX_VALUE)))
        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
          .addComponent(list3, javax.swing.GroupLayout.DEFAULT_SIZE, 205, Short.MAX_VALUE)
          .addComponent(list2, javax.swing.GroupLayout.DEFAULT_SIZE, 205, Short.MAX_VALUE)
          .addComponent(list1, javax.swing.GroupLayout.DEFAULT_SIZE, 205, Short.MAX_VALUE)
          .addComponent(list4, javax.swing.GroupLayout.DEFAULT_SIZE, 205, Short.MAX_VALUE))
        .addContainerGap())
    );

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

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

  // Variables declaration - do not modify//GEN-BEGIN:variables
  private javax.swing.JButton exit;
  private nxm.sys.libg.MidasDisplay list1;
  private nxm.sys.libg.MidasDisplay list2;
  private nxm.sys.libg.MidasDisplay list3;
  private nxm.sys.libg.MidasDisplay list4;
  private nxm.sys.libg.MidasDisplay plot1;
  private nxm.sys.libg.MidasDisplay plot2;
  private nxm.sys.libg.MidasDisplay plot3;
  private nxm.sys.libg.MidasDisplay plot4;
  private javax.swing.ButtonGroup state;
  // End of variables declaration//GEN-END:variables

}
