title: Builder (android.content.Context) in Builder cannot be applied to (anonymous android.content.DialogInterface.OnClickListener)
body: <p>I have this problem:</p>
  
  <pre><code>Builder
  (android.content.Context)
  in Builder cannot be applied
  to
  (anonymous android.content.DialogInterface.OnClickListener)
  </code></pre>
  
  <p>on the this code:</p>
  
  <pre><code>AlertDialog ventana;
      ventana=new AlertDialog.Builder(this).create();
      ventana.setTitle("COBARDE");
      ventana.setMessage("Rendidse es de debiles,a seguir jugando");
      ventana.show();
      ventana.setButton(8,"Confirmar", new DialogInterface.OnClickListener() {
          public void onClick(DialogInterface dialogo1, int id) {
              aceptar();
          }
          public void aceptar(){
              AlertDialog ventana2;
              ventana2=new AlertDialog.Builder(this).create();
              ventana2.setTitle("puto");
              ventana2.setMessage("Rendidse es de debiles,a seguir jugando");
              ventana2.show();
          }
  
      });
  </code></pre>
  
  <p>can someone solve that?i am trying to put an alert dialog inside of another alert dialog</p>