package nxm.train.mcr;

/** SWING GUI form layout for Graphics Lab 3 created with NetBeans GUI Builder
    Created on October 23, 2006, 4:41 PM
    @author  jxc
    @version $Id: graphicslab3.java,v 1.2 2012/11/14 13:59:20 ntn Exp $
 */
public class graphicslab3 extends javax.swing.JFrame {

  /** Creates new form graphicslab3 */
  public graphicslab3() {
    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();
    myplot = new nxm.sys.libg.MidasDisplay();
    mylist = new nxm.sys.libg.MidasDisplay();
    exit = new javax.swing.JButton();
    altitude = new javax.swing.JTextField();
    latitude = new javax.swing.JTextField();
    longitude = new javax.swing.JTextField();
    jLabel1 = new javax.swing.JLabel();
    jLabel2 = new javax.swing.JLabel();
    jLabel3 = new javax.swing.JLabel();

    setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);

    javax.swing.GroupLayout myplotLayout = new javax.swing.GroupLayout(myplot);
    myplot.setLayout(myplotLayout);
    myplotLayout.setHorizontalGroup(
      myplotLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 374, Short.MAX_VALUE)
    );
    myplotLayout.setVerticalGroup(
      myplotLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 310, Short.MAX_VALUE)
    );

    javax.swing.GroupLayout mylistLayout = new javax.swing.GroupLayout(mylist);
    mylist.setLayout(mylistLayout);
    mylistLayout.setHorizontalGroup(
      mylistLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 522, Short.MAX_VALUE)
    );
    mylistLayout.setVerticalGroup(
      mylistLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 119, Short.MAX_VALUE)
    );

    exit.setText("Quit");

    altitude.setEditable(false);

    latitude.setEditable(false);

    longitude.setEditable(false);

    jLabel1.setText("Altitude:");

    jLabel2.setText("Latitude:");

    jLabel3.setText("Longitude:");

    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()
        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
          .addComponent(mylist, javax.swing.GroupLayout.DEFAULT_SIZE, 522, Short.MAX_VALUE)
          .addGroup(layout.createSequentialGroup()
            .addComponent(myplot, javax.swing.GroupLayout.PREFERRED_SIZE, 374, javax.swing.GroupLayout.PREFERRED_SIZE)
            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
              .addComponent(jLabel1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
              .addComponent(jLabel2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
              .addComponent(jLabel3, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addComponent(longitude, javax.swing.GroupLayout.DEFAULT_SIZE, 66, Short.MAX_VALUE)
              .addComponent(latitude, javax.swing.GroupLayout.DEFAULT_SIZE, 66, Short.MAX_VALUE)
              .addComponent(altitude, javax.swing.GroupLayout.DEFAULT_SIZE, 66, Short.MAX_VALUE)))
          .addComponent(exit, javax.swing.GroupLayout.Alignment.TRAILING))
        .addContainerGap())
    );
    layout.setVerticalGroup(
      layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
        .addContainerGap()
        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
          .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
              .addComponent(jLabel1)
              .addComponent(altitude, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
              .addComponent(jLabel2)
              .addComponent(latitude, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
              .addComponent(jLabel3)
              .addComponent(longitude, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
          .addComponent(myplot, javax.swing.GroupLayout.DEFAULT_SIZE, 310, Short.MAX_VALUE))
        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
        .addComponent(mylist, javax.swing.GroupLayout.PREFERRED_SIZE, 119, javax.swing.GroupLayout.PREFERRED_SIZE)
        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
        .addComponent(exit)
        .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 graphicslab3().setVisible(true);
      }
    });
  }

  // Variables declaration - do not modify//GEN-BEGIN:variables
  private javax.swing.JTextField altitude;
  private javax.swing.JButton exit;
  private javax.swing.JLabel jLabel1;
  private javax.swing.JLabel jLabel2;
  private javax.swing.JLabel jLabel3;
  private javax.swing.JTextField latitude;
  private javax.swing.JTextField longitude;
  private nxm.sys.libg.MidasDisplay mylist;
  private nxm.sys.libg.MidasDisplay myplot;
  private javax.swing.ButtonGroup state;
  // End of variables declaration//GEN-END:variables

}
