From 4cd4ffb2771ea2d133b30273b1ffea0fef6b4552 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Tue, 17 Apr 2007 20:23:12 +0000
Subject: [PATCH] This commit introduces preliminary versions of the upgrader tool's GUI wizard panels.  Effort has been made to make the panels conform to the design at

---
 opends/src/quicksetup/org/opends/quicksetup/ui/StepsPanel.java |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/ui/StepsPanel.java b/opends/src/quicksetup/org/opends/quicksetup/ui/StepsPanel.java
index 1f6c1c6..82301d7 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/ui/StepsPanel.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/ui/StepsPanel.java
@@ -37,7 +37,6 @@
 import javax.swing.JLabel;
 import javax.swing.JPanel;
 
-import org.opends.quicksetup.GuiApplication;
 import org.opends.quicksetup.WizardStep;
 
 /**
@@ -56,15 +55,13 @@
 
   HashMap<WizardStep, JLabel> hmIcons = new HashMap<WizardStep, JLabel>();
 
-  GuiApplication application = null;
-
   /**
    * Creates a StepsPanel.
    * @param app Application whose steps this class represents
    */
   public StepsPanel(GuiApplication app)
   {
-    this.application = app;
+    super(app);
     createLayout(app);
   }
 
@@ -76,7 +73,7 @@
    */
   public void setDisplayedStep(WizardStep step)
   {
-    for (WizardStep s : application.getWizardSteps())
+    for (WizardStep s : getApplication().getWizardSteps())
     {
       if (s.equals(step))
       {

--
Gitblit v1.10.0