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

jvergara
11.34.2006 c40f084a6d3e897785f2fbff3ddb97545644cddc
opends/src/quicksetup/org/opends/quicksetup/ui/InstallWelcomePanel.java
File was renamed from opends/src/quicksetup/org/opends/quicksetup/ui/WelcomePanel.java
@@ -29,11 +29,13 @@
import java.awt.Component;
import org.opends.quicksetup.util.Utils;
/**
 * This panel is used to show a welcome message.
 *
 */
class WelcomePanel extends QuickSetupStepPanel
class InstallWelcomePanel extends QuickSetupStepPanel
{
  private static final long serialVersionUID = 6209217138897900860L;
@@ -41,7 +43,7 @@
   * Default constructor.
   *
   */
  public WelcomePanel()
  public InstallWelcomePanel()
  {
    createLayout();
  }
@@ -63,10 +65,26 @@
     * We can use org.opends.server.util.DynamicConstants without problems as it
     * has been added to quicksetup.jar during build time.
     */
    String[] args =
          { org.opends.server.util.DynamicConstants.COMPACT_VERSION_STRING,
              org.opends.server.util.DynamicConstants.BUILD_ID };
    return getMsg("welcome-panel-instructions", args);
    String[] args;
    String msgKey;
    if (Utils.isWebStart())
    {
      msgKey = "welcome-panel-webstart-instructions";
      args = new String[3];
      String cmd = Utils.isWindows()?"setup.bat":"setup";
      args[0] = UIFactory.applyFontToHtml(cmd,
          UIFactory.INSTRUCTIONS_MONOSPACE_FONT);
      args[1] = org.opends.server.util.DynamicConstants.COMPACT_VERSION_STRING;
      args[2] = org.opends.server.util.DynamicConstants.BUILD_ID;
    }
    else
    {
      args = new String[2];
      args[0] = org.opends.server.util.DynamicConstants.COMPACT_VERSION_STRING;
      args[1] = org.opends.server.util.DynamicConstants.BUILD_ID;
      msgKey = "welcome-panel-offline-instructions";
    }
    return getMsg(msgKey, args);
  }
  /**