title: Delayed Dialog Java
body: <p>I am trying to delay the pop of a Dialog in Java. <strong>I don't want to use Thread.sleep because animations are being played meanwhile.</strong></p>
  
  <p>Here is what I've tried, but it is not working:</p>
  
  <pre><code>try{
      final Dialog d = new Dialog(this);
      d.wait(1500);
      d.show();
  }catch(Exception e){}
  </code></pre>
  
  <p>The Dialog isn't showing. However, when I remove the <code>d.wait(1500)</code>then it works.</p>
  
  <p>Do you have any idea to help me?</p>
  
  <p>Thank you!</p>