private void table_ticketMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_table_ticketMouseClicked
        if (evt.getClickCount() == 2) {
            JTable target = (JTable) evt.getSource();
            int row = target.getSelectedRow();
            final DetalleRegistro a = new DetalleRegistro(tableTicketModel.getTicket(row), Inicio.getInstance(), true);
            a.addWindowListener(new DetalleWListener() {
                @Override
                public void windowClosed(WindowEvent e) {
                    if (a.isModificado()) {
                        btn_buscarActionPerformed(null);
                    }

                }
            });

        }
    }//GEN-LAST:event_table_ticketMouseClicked