private void btnIngresarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnIngresarActionPerformed
        if (jPContrasena.getPassword().length!=6) 
        {
            JOptionPane.showMessageDialog(this, "Contraseña Incorrecta", "Error", JOptionPane.ERROR_MESSAGE);
            jPContrasena.requestFocus();
        }
        else
        {
        gestionLogin.getEmpleado().setUser_Empleado(txtUsuario.getText());
        try
        {
            gestionLogin.Login();
            PasarDeNegocioAInterfaz();
            Comparar();
        }
        catch(SQLException ex)
        {
            JOptionPane.showMessageDialog(this, ex.getMessage());
        }         
        }
    }//GEN-LAST:event_btnIngresarActionPerformed