private void initializeDialog() {
    ThreadingAssertions.assertEventDispatchThread();
    Runnable initialization = myDialogInitialization;
    if (initialization == null) return;
    myDialogInitialization = null;
    initialization.run();
  }
private void initializeDialog()