title: How to display Messagebox with Retry option in JAVA?
body: <p>Scenario:</p>
  
  <ol>
  <li>Pickup some data from an Excel file.</li>
  <li>Search for it in a Text file.</li>
  <li>If the data is not found, display a popup message box with a 'Retry' option.</li>
  <li>User opens the Excel file and changes the value.</li>
  <li>Click the 'Retry' button.</li>
  <li>The Line which threw the error earlier should get executed again.</li>
  </ol>
  
  <p>I need to know, how to display a message box with  a 'Retry' option, clicking on which shall execute the line of code again.</p>