mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
16.25.2009 1ee560f2e335401e65190ce5b04fb40f095297d5
Add some code that avoids having some glitches when the error pane of the dialogs is displayed.
1 files modified
15 ■■■■■ changed files
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/StatusGenericPanel.java 15 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/StatusGenericPanel.java
@@ -1164,6 +1164,21 @@
      lastDisplayedError = text;
      pane.setText(text);
    }
    final Window window =
      Utilities.getParentDialog(StatusGenericPanel.this);
    if (window != null)
    {
      SwingUtilities.invokeLater(new Runnable()
      {
        /**
         * {@inheritDoc}
         */
        public void run()
        {
          window.validate();
        }
      });
    }
  }
  /**