private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
        try {

            java.sql.Date f1 = new java.sql.Date(this.jDateChooser1.getDate().getTime());
            java.sql.Date f2 = new java.sql.Date(this.jDateChooser2.getDate().getTime());
            pd.setCosto(this.jTextField1.getText());
            pd.setDescripcion((String)this.jTextArea1.getText());
           
            pd.setEstado((String)this.jComboBox2.getSelectedItem());
            pd.setFecha_ingreso(f1 );
            pd.setFecha_entrega(f2);
            
            // TODO add your handling code here:
            Pedido.modificar_pedido(pd);

this.dispose();

        } catch (SQLException ex) {
            Logger.getLogger(VModificar_pedido.class.getName()).log(Level.SEVERE, null, ex);
        }

        
    }//GEN-LAST:event_jButton1ActionPerformed