title: Show JDialog ("Please Wait") on JFrame
body: <p>I have a <code>JFrame</code> and this <code>JFrame</code> has a <code>JButton</code>.<br/></p>
  
  <p>I want in <code>JButton</code> first show <code>JDialog</code> (display <code>"Please wait"</code>) and execute other code then closing <code>JDialog</code>.<br/></p>
  
  <p>But when showing <code>JDialog</code> stopped to execute other code on <code>JButton</code>.<br/></p>