title: Java:Show message dialog for 10sec and remove?
body: <p>Hi i want to show <code>JOptionPane.showMessageDialog(null, "Appication already running");</code></p>
  
  <p>for 10sec and then remove it.how can i dothat?</p>