Exemplo n.º 1
0
  /**
   * 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() {

    jLabel2 = new javax.swing.JLabel();
    lblTitulo = new javax.swing.JLabel();
    jLabel1 = new javax.swing.JLabel();
    descripcion = new javax.swing.JTextField();
    jLabel4 = new javax.swing.JLabel();
    folio = new javax.swing.JTextField();
    jScrollPane1 = new javax.swing.JScrollPane();
    tablaPrincipal = new javax.swing.JTable();
    btnNuevo = new javax.swing.JButton();
    btnImprimir = new javax.swing.JButton();
    jPanel1 = new javax.swing.JPanel();
    btnCerrar = new javax.swing.JButton();
    jLabel5 = new javax.swing.JLabel();
    jLabel6 = new javax.swing.JLabel();
    jLabel7 = new javax.swing.JLabel();
    almacen = new javax.swing.JTextField();
    tipoMovimiento = new javax.swing.JComboBox();
    txtSumaTotal = new javax.swing.JTextField();
    jLabel8 = new javax.swing.JLabel();
    btnEliminarRenglon = new javax.swing.JButton();
    fecha = new org.jdesktop.swingx.JXDatePicker();
    jLabel3 = new javax.swing.JLabel();

    jLabel2.setText("jLabel2");

    setTitle("Movimiento de almacén");
    getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

    lblTitulo.setFont(new java.awt.Font("Arial", 1, 36));
    lblTitulo.setForeground(new java.awt.Color(255, 255, 255));
    lblTitulo.setText("Movimiento de almacén");
    getContentPane()
        .add(lblTitulo, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 10, -1, 40));

    jLabel1.setFont(new java.awt.Font("Tahoma", 1, 12));
    jLabel1.setForeground(new java.awt.Color(255, 255, 255));
    jLabel1.setText("Descripción:");
    getContentPane()
        .add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 90, -1, 30));
    getContentPane()
        .add(descripcion, new org.netbeans.lib.awtextra.AbsoluteConstraints(90, 90, 600, -1));

    jLabel4.setFont(new java.awt.Font("Tahoma", 1, 12));
    jLabel4.setForeground(new java.awt.Color(255, 255, 255));
    jLabel4.setText("Folio:");
    getContentPane()
        .add(jLabel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(700, 90, -1, 30));
    getContentPane().add(folio, new org.netbeans.lib.awtextra.AbsoluteConstraints(740, 90, 80, -1));

    tablaPrincipal.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
    tablaPrincipal.setModel(
        new javax.swing.table.DefaultTableModel(
            new Object[][] {},
            new String[] {"Código artículo", "Descripción", "Costo", "Cantidad", "Total"}) {
          boolean[] canEdit = new boolean[] {true, false, true, true, false};

          public boolean isCellEditable(int rowIndex, int columnIndex) {
            return canEdit[columnIndex];
          }
        });
    tablaPrincipal.setToolTipText("[ F1 ] catalogo de articulos");
    tablaPrincipal.setCellSelectionEnabled(true);
    tablaPrincipal.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
    tablaPrincipal.setGridColor(new java.awt.Color(51, 255, 255));
    tablaPrincipal.setRowHeight(25);
    tablaPrincipal.setShowHorizontalLines(false);
    tablaPrincipal.setSurrendersFocusOnKeystroke(true);
    jScrollPane1.setViewportView(tablaPrincipal);

    getContentPane()
        .add(jScrollPane1, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 120, 820, 280));

    btnNuevo.setIcon(
        new javax.swing.ImageIcon(getClass().getResource("/64x64/page_add.png"))); // NOI18N
    btnNuevo.setText("<html><center>Agregar éste movimiento [F5]</center></html>");
    btnNuevo.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnNuevoActionPerformed(evt);
          }
        });
    getContentPane()
        .add(btnNuevo, new org.netbeans.lib.awtextra.AbsoluteConstraints(470, 440, 190, 60));

    btnImprimir.setIcon(
        new javax.swing.ImageIcon(getClass().getResource("/64x64/printer.png"))); // NOI18N
    btnImprimir.setText("<html><center>Imprimir [F8]</center></html>");
    btnImprimir.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnImprimirActionPerformed(evt);
          }
        });
    getContentPane()
        .add(btnImprimir, new org.netbeans.lib.awtextra.AbsoluteConstraints(670, 440, 160, 60));

    javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
    jPanel1.setLayout(jPanel1Layout);
    jPanel1Layout.setHorizontalGroup(
        jPanel1Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 30, Short.MAX_VALUE));
    jPanel1Layout.setVerticalGroup(
        jPanel1Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 30, Short.MAX_VALUE));

    getContentPane()
        .add(jPanel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(810, 480, 30, 30));

    btnCerrar.setIcon(
        new javax.swing.ImageIcon(getClass().getResource("/64x64/back.png"))); // NOI18N
    btnCerrar.setText("<HTML>Regresar a almacén [Esc]</HTML>");
    btnCerrar.setRequestFocusEnabled(false);
    btnCerrar.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnCerrarActionPerformed(evt);
          }
        });
    getContentPane()
        .add(btnCerrar, new org.netbeans.lib.awtextra.AbsoluteConstraints(600, 10, 230, 40));

    jLabel5.setFont(new java.awt.Font("Tahoma", 1, 12));
    jLabel5.setForeground(new java.awt.Color(255, 255, 255));
    jLabel5.setText("Tipo de movimiento:");
    getContentPane()
        .add(jLabel5, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 60, 130, 30));

    jLabel6.setFont(new java.awt.Font("Tahoma", 1, 12));
    jLabel6.setForeground(new java.awt.Color(255, 255, 255));
    jLabel6.setText("Fecha:");
    getContentPane()
        .add(jLabel6, new org.netbeans.lib.awtextra.AbsoluteConstraints(630, 60, 40, 30));

    jLabel7.setFont(new java.awt.Font("Tahoma", 1, 12));
    jLabel7.setForeground(new java.awt.Color(255, 255, 255));
    jLabel7.setText("Almacén [F1]:");
    getContentPane()
        .add(jLabel7, new org.netbeans.lib.awtextra.AbsoluteConstraints(340, 50, 90, 30));

    almacen.setEditable(false);
    getContentPane()
        .add(almacen, new org.netbeans.lib.awtextra.AbsoluteConstraints(430, 60, 190, -1));

    tipoMovimiento.setModel(
        new javax.swing.DefaultComboBoxModel(
            new String[] {"Entrada al almacén", "Salida del almacén", "Ajuste"}));
    getContentPane()
        .add(tipoMovimiento, new org.netbeans.lib.awtextra.AbsoluteConstraints(140, 60, 140, -1));
    getContentPane()
        .add(txtSumaTotal, new org.netbeans.lib.awtextra.AbsoluteConstraints(660, 410, 170, -1));

    jLabel8.setFont(new java.awt.Font("Tahoma", 1, 12));
    jLabel8.setForeground(new java.awt.Color(255, 255, 255));
    jLabel8.setText("Total:");
    getContentPane()
        .add(jLabel8, new org.netbeans.lib.awtextra.AbsoluteConstraints(610, 410, -1, 20));

    btnEliminarRenglon.setIcon(
        new javax.swing.ImageIcon(getClass().getResource("/16x16/remove.png"))); // NOI18N
    btnEliminarRenglon.setText("Eliminar renglón seleccionado [F12]");
    btnEliminarRenglon.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnEliminarRenglonActionPerformed(evt);
          }
        });
    getContentPane()
        .add(
            btnEliminarRenglon, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 410, -1, -1));

    fecha.setFormats(java.text.DateFormat.getDateInstance(java.text.DateFormat.MEDIUM));
    getContentPane()
        .add(fecha, new org.netbeans.lib.awtextra.AbsoluteConstraints(670, 60, 160, -1));

    jLabel3.setFont(new java.awt.Font("Tahoma", 3, 12)); // NOI18N
    jLabel3.setText("[ F1 ] catalogo de articulos");
    getContentPane()
        .add(jLabel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(250, 410, 190, 20));

    pack();
  } // </editor-fold>//GEN-END: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() {

    jPanel1 = new javax.swing.JPanel();
    jLabel1 = new javax.swing.JLabel();
    txtHora = new javax.swing.JTextField();
    jLabel2 = new javax.swing.JLabel();
    labelusuario = new javax.swing.JLabel();
    jLabel13 = new javax.swing.JLabel();
    txtFecha = new javax.swing.JTextField();
    jPanel2 = new javax.swing.JPanel();
    jScrollPane1 = new javax.swing.JScrollPane();
    tblViaje = new javax.swing.JTable();
    btnAgregarViaje = new javax.swing.JButton();
    jLabel4 = new javax.swing.JLabel();
    txtTipoViaje = new javax.swing.JTextField();
    jLabel5 = new javax.swing.JLabel();
    txtNumViaje = new javax.swing.JTextField();
    jLabel6 = new javax.swing.JLabel();
    txtFechaRealizacion = new javax.swing.JTextField();
    jLabel7 = new javax.swing.JLabel();
    txtDestino = new javax.swing.JTextField();
    jLabel8 = new javax.swing.JLabel();
    txtProductor = new javax.swing.JTextField();
    jLabel9 = new javax.swing.JLabel();
    txtCereal = new javax.swing.JTextField();
    jLabel18 = new javax.swing.JLabel();
    txtNumeroSolicitud = new javax.swing.JTextField();
    jLabel12 = new javax.swing.JLabel();
    txtHoraViaje = new javax.swing.JTextField();
    jPanel4 = new javax.swing.JPanel();
    btnGuardar = new javax.swing.JButton();
    btnSalir = new javax.swing.JButton();
    jPanel5 = new javax.swing.JPanel();
    txtTara = new javax.swing.JTextField();
    jScrollPane3 = new javax.swing.JScrollPane();
    tblVehiculo = new javax.swing.JTable();
    jLabel20 = new javax.swing.JLabel();
    txtTransportista = new javax.swing.JTextField();
    jLabel21 = new javax.swing.JLabel();
    txtVehiculo = new javax.swing.JTextField();
    jLabel22 = new javax.swing.JLabel();
    btnAceptarVehiculo = new javax.swing.JButton();
    jLabel16 = new javax.swing.JLabel();
    jLabel10 = new javax.swing.JLabel();
    txtDominio = new javax.swing.JTextField();
    jLabel11 = new javax.swing.JLabel();
    txtTipoVehiculo = new javax.swing.JTextField();

    setIconifiable(true);
    setMaximizable(true);
    setTitle("Asignar Transporte");

    jPanel1.setLayout(null);

    jLabel1.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
    jLabel1.setText("Fecha");
    jPanel1.add(jLabel1);
    jLabel1.setBounds(10, 10, 60, 20);
    jPanel1.add(txtHora);
    txtHora.setBounds(240, 10, 80, 20);

    jLabel2.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
    jLabel2.setText("Hora");
    jPanel1.add(jLabel2);
    jLabel2.setBounds(210, 10, 51, 20);

    labelusuario.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
    labelusuario.setText("Carolina");
    jPanel1.add(labelusuario);
    labelusuario.setBounds(660, 0, 50, 40);

    jLabel13.setIcon(
        new javax.swing.ImageIcon(
            getClass().getResource("/Imagenes/UsuarioLogueado.png"))); // NOI18N
    jPanel1.add(jLabel13);
    jLabel13.setBounds(710, 0, 30, 30);
    jPanel1.add(txtFecha);
    txtFecha.setBounds(50, 10, 80, 20);

    jPanel2.setBorder(
        javax.swing.BorderFactory.createTitledBorder(
            null,
            "Datos Viaje",
            javax.swing.border.TitledBorder.CENTER,
            javax.swing.border.TitledBorder.DEFAULT_POSITION,
            new java.awt.Font("Arial", 0, 14))); // NOI18N
    jPanel2.setLayout(null);

    tblViaje.setModel(
        new javax.swing.table.DefaultTableModel(
            new Object[][] {}, new String[] {"Nº Viaje", "Fecha", "Productor"}) {

          boolean[] canEdit = new boolean[] {false, false, false};

          public boolean isCellEditable(int rowIndex, int columnIndex) {
            return canEdit[columnIndex];
          }
        });
    jScrollPane1.setViewportView(tblViaje);

    jPanel2.add(jScrollPane1);
    jScrollPane1.setBounds(80, 30, 560, 89);

    btnAgregarViaje.setIcon(
        new javax.swing.ImageIcon(getClass().getResource("/Imagenes/Aceptar.png"))); // NOI18N
    btnAgregarViaje.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnAgregarViajeActionPerformed(evt);
          }
        });
    jPanel2.add(btnAgregarViaje);
    btnAgregarViaje.setBounds(650, 60, 40, 30);

    jLabel4.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
    jLabel4.setText("Hora");
    jPanel2.add(jLabel4);
    jLabel4.setBounds(550, 130, 60, 20);
    jPanel2.add(txtTipoViaje);
    txtTipoViaje.setBounds(130, 160, 160, 20);

    jLabel5.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
    jLabel5.setText("Tipo Viaje");
    jPanel2.add(jLabel5);
    jLabel5.setBounds(70, 160, 80, 20);
    jPanel2.add(txtNumViaje);
    txtNumViaje.setBounds(260, 130, 70, 20);

    jLabel6.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
    jLabel6.setText("Fecha Realización");
    jPanel2.add(jLabel6);
    jLabel6.setBounds(340, 130, 130, 20);
    jPanel2.add(txtFechaRealizacion);
    txtFechaRealizacion.setBounds(450, 130, 90, 20);

    jLabel7.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
    jLabel7.setText("Destino");
    jPanel2.add(jLabel7);
    jLabel7.setBounds(370, 160, 70, 20);
    jPanel2.add(txtDestino);
    txtDestino.setBounds(420, 160, 240, 20);

    jLabel8.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
    jLabel8.setText("Productor");
    jPanel2.add(jLabel8);
    jLabel8.setBounds(360, 190, 90, 20);
    jPanel2.add(txtProductor);
    txtProductor.setBounds(420, 190, 180, 20);

    jLabel9.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
    jLabel9.setText("Tipo de Cereal");
    jPanel2.add(jLabel9);
    jLabel9.setBounds(40, 190, 120, 20);
    jPanel2.add(txtCereal);
    txtCereal.setBounds(130, 190, 100, 20);

    jLabel18.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
    jLabel18.setText("Solicitud N°");
    jPanel2.add(jLabel18);
    jLabel18.setBounds(60, 130, 80, 20);
    jPanel2.add(txtNumeroSolicitud);
    txtNumeroSolicitud.setBounds(130, 130, 70, 20);

    jLabel12.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
    jLabel12.setText("Nº Viaje");
    jPanel2.add(jLabel12);
    jLabel12.setBounds(210, 130, 67, 20);
    jPanel2.add(txtHoraViaje);
    txtHoraViaje.setBounds(580, 130, 80, 20);

    btnGuardar.setFont(new java.awt.Font("Arial", 0, 11)); // NOI18N
    btnGuardar.setIcon(
        new javax.swing.ImageIcon(getClass().getResource("/Imagenes/Guardar.png"))); // NOI18N
    btnGuardar.setText("Guardar");
    btnGuardar.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnGuardarActionPerformed(evt);
          }
        });

    btnSalir.setFont(new java.awt.Font("Arial", 0, 11)); // NOI18N
    btnSalir.setIcon(
        new javax.swing.ImageIcon(getClass().getResource("/Imagenes/Salir.png"))); // NOI18N
    btnSalir.setText("Salir");
    btnSalir.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnSalirActionPerformed(evt);
          }
        });

    javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
    jPanel4.setLayout(jPanel4Layout);
    jPanel4Layout.setHorizontalGroup(
        jPanel4Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                jPanel4Layout
                    .createSequentialGroup()
                    .addGap(127, 127, 127)
                    .addComponent(btnGuardar)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(
                        btnSalir,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        96,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(123, Short.MAX_VALUE)));
    jPanel4Layout.setVerticalGroup(
        jPanel4Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                jPanel4Layout
                    .createSequentialGroup()
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(
                        jPanel4Layout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(
                                btnGuardar,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                30,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(
                                btnSalir,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                30,
                                javax.swing.GroupLayout.PREFERRED_SIZE))));

    jPanel5.setBorder(
        javax.swing.BorderFactory.createTitledBorder(
            null,
            "Datos VehÍculo",
            javax.swing.border.TitledBorder.CENTER,
            javax.swing.border.TitledBorder.DEFAULT_POSITION,
            new java.awt.Font("Arial", 0, 14))); // NOI18N
    jPanel5.setLayout(null);
    jPanel5.add(txtTara);
    txtTara.setBounds(580, 130, 120, 20);

    tblVehiculo.setModel(
        new javax.swing.table.DefaultTableModel(
            new Object[][] {},
            new String[] {"Vehículo", "Capacidad de Vehículo (Tn)", "Transportista"}) {
          boolean[] canEdit = new boolean[] {false, false, false};

          public boolean isCellEditable(int rowIndex, int columnIndex) {
            return canEdit[columnIndex];
          }
        });
    tblVehiculo.getTableHeader().setReorderingAllowed(false);
    jScrollPane3.setViewportView(tblVehiculo);

    jPanel5.add(jScrollPane3);
    jScrollPane3.setBounds(60, 30, 660, 90);

    jLabel20.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
    jLabel20.setText("Vehículo");
    jPanel5.add(jLabel20);
    jLabel20.setBounds(30, 130, 90, 20);
    jPanel5.add(txtTransportista);
    txtTransportista.setBounds(460, 160, 240, 20);

    jLabel21.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
    jLabel21.setText("Transportista");
    jPanel5.add(jLabel21);
    jLabel21.setBounds(380, 160, 100, 20);
    jPanel5.add(txtVehiculo);
    txtVehiculo.setBounds(90, 130, 220, 20);

    jLabel22.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
    jLabel22.setText("Tara ");
    jPanel5.add(jLabel22);
    jLabel22.setBounds(550, 130, 50, 20);

    btnAceptarVehiculo.setFont(new java.awt.Font("Arial", 0, 11)); // NOI18N
    btnAceptarVehiculo.setIcon(
        new javax.swing.ImageIcon(getClass().getResource("/Imagenes/Aceptar.png"))); // NOI18N
    btnAceptarVehiculo.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnAceptarVehiculoActionPerformed(evt);
          }
        });
    jPanel5.add(btnAceptarVehiculo);
    btnAceptarVehiculo.setBounds(730, 60, 49, 30);

    jLabel16.setFont(new java.awt.Font("Arial", 0, 11)); // NOI18N
    jLabel16.setText("Tn.");
    jPanel5.add(jLabel16);
    jLabel16.setBounds(700, 130, 30, 20);

    jLabel10.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
    jLabel10.setText("Dominio");
    jPanel5.add(jLabel10);
    jLabel10.setBounds(360, 130, 90, 20);
    jPanel5.add(txtDominio);
    txtDominio.setBounds(410, 130, 100, 20);

    jLabel11.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
    jLabel11.setText("Tipo de Vehículo");
    jPanel5.add(jLabel11);
    jLabel11.setBounds(20, 160, 120, 20);
    jPanel5.add(txtTipoVehiculo);
    txtTipoVehiculo.setBounds(120, 160, 190, 20);

    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(
                                jPanel1,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(
                                jPanel5,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addGroup(
                                layout
                                    .createSequentialGroup()
                                    .addGap(29, 29, 29)
                                    .addComponent(
                                        jPanel2,
                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                        723,
                                        javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGap(0, 38, Short.MAX_VALUE)))
                    .addContainerGap())
            .addGroup(
                layout
                    .createSequentialGroup()
                    .addGap(178, 178, 178)
                    .addComponent(
                        jPanel4,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 0, Short.MAX_VALUE)));
    layout.setVerticalGroup(
        layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                layout
                    .createSequentialGroup()
                    .addComponent(
                        jPanel1,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        41,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(4, 4, 4)
                    .addComponent(
                        jPanel2,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        233,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(
                        jPanel5,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        195,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addComponent(
                        jPanel4,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(107, Short.MAX_VALUE)));

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