@FXML
 protected void Guardar(ActionEvent event) {
   if (txtCarrera.getText().trim().isEmpty()
       | txtJefe.getText().trim().isEmpty()
       | txtMatricula.getText().trim().isEmpty()
       | txtSiglas.getText().trim().isEmpty()) {
     lblMensaje.setText("Campos vacios");
   } else {
     Carrera nuevaCarrera =
         new Carrera(
             txtCarrera.getText(),
             txtSiglas.getText(),
             txtJefe.getText(),
             Integer.valueOf(txtMatricula.getText()),
             cboAcreditada.getValue());
     cdCarrera datos = new cdCarrera();
     lblMensaje.setText(datos.guardar(nuevaCarrera));
     Limpiar();
     LLenarTabla();
   }
 }