private void mostrar() { MessageBox.hide(); Record rec = lista.getPanel().getSelectionModel().getSelected(); if (rec != null) { CoreProxy<FinRetorno> proxy = new CoreProxy<FinRetorno>(classe); proxy.selecionar( rec.getAsInteger("finRetornoId"), new AsyncCallback<FinRetorno>() { public void onSuccess(FinRetorno result) { arquivo = result.getFinRetornoArquivo(); analisar(); } public void onFailure(Throwable caught) { arquivo = null; boletos.getStore().removeAll(); } }); } else { if (cmbConta.getStore().getRecords().length == 1) { cmbConta.setValue(cmbConta.getStore().getRecordAt(0).getAsString("finContaId")); } } cmbConta.focus(); }