void NotifyEmpAdded() {
   Dialog diag = new Dialog(this);
   diag.setTitle("Registro de Datos");
   TextView txt = new TextView(this);
   txt.setText("Registro realizado con exito");
   diag.setContentView(txt);
   diag.show();
   try {
     diag.wait(1000);
   } catch (InterruptedException e) {
     // TODO Auto-generated catch block
     CatchError(e.toString());
   }
   diag.notify();
   diag.dismiss();
 }