private void limpiarAvance() {
    txtNoAvance.setValue(listaAvance.size() + 1 + "");
    txtDistancia.setValue("");
    tmfAvance.setValue(null);
    tmfRecesion.setValue(null);

    btnAdd.setCaption("Agregar");
    btnCancel.setVisible(false);
    absLAvance.setVisible(false);
    absLAvanceRecesion.setHeight("265px");
  }
 @Override
 public void setVisible(boolean visible) {
   super.setVisible(visible);
   if (visible && content.getValue().toString().length() > 0) content.selectAll();
 }
 private void mostrarFormAvances() {
   btnCancel.setVisible(true);
   absLAvance.setVisible(true);
   absLAvanceRecesion.setHeight("320px");
 }