private void txt_num_fileFocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_txt_num_fileFocusLost
        
        System.out.println("a dejado de ser focuseado\n");
        
        if (txt_num_file.getText().length() > 0) {
            try {
                boolean existe;
                existe = TicketDAO.getInstance().existeNumFile(txt_num_file.getText());
                
                
                if (!existe) {
                    JOptionPane.showMessageDialog(null, "El num file no existe", "No encontrado", JOptionPane.WARNING_MESSAGE);
                    txt_num_file.setText("");
                }
                
            } catch (SQLException ex) {
                Logger.getLogger(DetalleRegistro.class.getName()).log(Level.SEVERE, null, ex);
            }
            
        }
    }//GEN-LAST:event_txt_num_fileFocusLost