public void validaOpcao() {
        try {            
            if (todosOptions.isSelected()) { 
                jList1.setListData(fac.getTodos().toArray());
            } else if (naoPagoOption.isSelected()) {
                jList1.setListData(fac.getTodosNaoPagos().toArray());
            }else if (extraviadosButton.isSelected()) {
                jList1.setListData(fac.getTodosExtraviados().toArray());
            }else if (pagosButton.isSelected()) {
                jList1.setListData(fac.getTodosPagos().toArray());
                System.out.println(fac.getTodosPagos().toArray());
            } else if (porCodigoOption.isSelected()) {
                Ticket[] data = new Ticket[1];
                data[0] = fac.getTicketPorCodigo(new CodigoSimples(codigoField.getText()));
                jList1.setListData(data);
            }
        } catch (CancelaDAOException ex) {
            Logger.getLogger(TicketBuscaFrame.class.getName()).log(Level.SEVERE, null, ex);
        }
    }