title: JOptionPane in JavaFX?
body: <p>Can we use a <code>JOptionPane</code> in JavaFX? If yes, then how?</p>
  
  <p>Is there a way that I can popup a message via a dialog box in a JavaFX program as I can do through <code>javax.swing</code> with <code>JOptionPane.showMessageDialog()</code>? If not, is there any other alternative?</p>