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

jvergara
08.43.2007 43e9c7913fc664b725e167090fe6d389a4558315
opends/src/quicksetup/org/opends/quicksetup/ui/QuickSetupDialog.java
@@ -302,7 +302,7 @@
    {
      public void run()
      {
        // TODO: here we could have an animated gif.
        displayWorkingProgressImage(true);
        setButtonEnabled(ButtonName.NEXT, false);
        setButtonEnabled(ButtonName.PREVIOUS, false);
        setButtonEnabled(ButtonName.FINISH, false);
@@ -325,7 +325,7 @@
    {
      public void run()
      {
        // TO COMPLETE: here we could have an animated gif.
        displayWorkingProgressImage(false);
        setButtonEnabled(ButtonName.NEXT, true);
        setButtonEnabled(ButtonName.PREVIOUS, true);
        setButtonEnabled(ButtonName.FINISH, true);
@@ -543,4 +543,13 @@
      li.buttonActionPerformed(be);
    }
  }
  private void displayWorkingProgressImage(boolean display)
  {
    if (getFramePanel() instanceof FramePanel)
    {
      ((FramePanel)getFramePanel()).setProgressIcon(display ?
          UIFactory.IconType.WAIT : UIFactory.IconType.NO_ICON);
    }
  }
}