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

kenneth_suter
17.23.2007 4cd4ffb2771ea2d133b30273b1ffea0fef6b4552
opends/src/quicksetup/org/opends/quicksetup/ui/CurrentStepPanel.java
@@ -34,7 +34,6 @@
import java.util.Set;
import org.opends.quicksetup.event.ButtonActionListener;
import org.opends.quicksetup.installer.FieldName;
import org.opends.quicksetup.installer.Installer;
import org.opends.quicksetup.*;
@@ -58,15 +57,13 @@
  private HashMap<WizardStep, QuickSetupStepPanel> hmPanels =
      new HashMap<WizardStep, QuickSetupStepPanel>();
  private Application application;
  /**
   * The constructor of this class.
   * @param app Application used to create panels for populating the layout
   */
  public CurrentStepPanel(GuiApplication app)
  {
    this.application = app;
    super(app);
    createLayout(app);
  }
@@ -127,6 +124,7 @@
      for (WizardStep step : steps) {
        QuickSetupStepPanel panel = app.createWizardStepPanel(step);
        if (panel != null) {
          panel.initialize();
          hmPanels.put(step, panel);
        }
      }
@@ -144,7 +142,7 @@
    // For aesthetical reasons we add a little bit of height
    // TODO: remove this hack
    if (application instanceof Installer)
    if (getApplication() instanceof Installer)
    {
      minHeight += UIFactory.EXTRA_DIALOG_HEIGHT;
    }