private void IEbotonIngresarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_IEbotonIngresarActionPerformed
        // TODO add your handling code here:
        try {

            emp= new Empleado(this.jTextFieldUser.getText(),this.jTextFieldPass.getText(), this.nombreEmpleado.getText(),this.apellidoEmpleado.getText(),this.cedulaEmpleado.getText(),this.domicilioEmpleado.getText(),this.telefonoempleado.getText(),this.departamentoEmpleado.getText(),this.jComboBoxTipoEmpleado.getSelectedItem().toString());
            System.out.println(emp.getUsuario());
            if( this.jTextFieldUser.getText().length() <= 0 || this.jTextFieldUser.getText().contains(" ")  ){
            JOptionPane.showMessageDialog(null,"Tiene que ingresar minimo USUARIO ");
            }else{
                emp.Ingresar_empleado(emp);


          this.dispose();
          bandera = true;
            }

        } catch (SQLException ex) {
            Logger.getLogger(vIngresarEmpleado.class.getName()).log(Level.SEVERE, null, ex);
        }
    }//GEN-LAST:event_IEbotonIngresarActionPerformed