title: How to open warning/information/error dialog in Swing?
body: <p>How to open warning/information/error dialog in Swing?</p>
  <p>I need standard error dialog with &quot;Ok&quot; button and &quot;red cross&quot; image.
  I.e. analog of <code>org.eclipse.jface.dialogs.MessageDialog.openError()</code></p>