code: public void notifyUserAboutException(Thread thread, final Throwable throwable) {
          SwingUtilities.invokeLater(new Runnable() {
              @Override
              public void run() {
                  final ErrorInfo errorInfo = new ErrorInfo(
                          resolveExceptionCaption(throwable),
                          (String) createExceptionContent(throwable),
                          getDetailsAsHTML(throwable.getMessage(), throwable),
                          null, throwable, Level.SEVERE,  null);
                  JXErrorPane pane = new JXErrorPane();
                  pane.setErrorInfo(errorInfo);
                  if (errorReporter != null) {
                      pane.setErrorReporter(errorReporter);
                  }
                  JXErrorPane.showDialog(resolveParentFrame(), pane);
              }
          });
      }
docs: Shows the {@link org.jdesktop.swingx.JXErrorPane} to the user.